package Logica;

import Acceso.AccesoSpss;
import Entidades.Empresa;
import Entidades.Entrevistado;
import Entidades.Historica;
import Entidades.PantallaAplicacion;
import Vista.*;
import java.util.ArrayList;
import javax.swing.JFrame;

/**
 *
 * @author Puma
 */
public class LogicaAplicacion {

    private static ArrayList<PantallaAplicacion> pantallasAplicacion = new ArrayList<PantallaAplicacion>();
    private static Empresa empresa = null;
    private static String fechaEntrevista = "";
    private static int periodoRevision = 1;
    private static int p1 = 0;
    private static AccesoSpss acceso = new AccesoSpss();
    private static int contarInternet = 0;
    private static ArrayList bandaAncha = new ArrayList();
    private static ArrayList dedicados = new ArrayList();

    private static int p13aa_1 = 0;
    private static int p13aa_2 = 0;
    private static int p13aa_3 = 0;
    private static int p13ab_1 = 0;
    private static int p13ab_2 = 0;
    private static int p13ab_3 = 0;
    private static int p13ac_1 = 0;
    private static int p13ac_2 = 0;
    private static int p13ac_3 = 0;
    private static int p13ad_1 = 0;
    private static int p13ad_2 = 0;
    private static int p13ad_3 = 0;
    private static int p13ae_1 = 0;
    private static int p13ae_2 = 0;
    private static int p13ae_3 = 0;

    public static int getP13aa_1() {
        return p13aa_1;
    }

    public static void setP13aa_1(int p13aa_1) {
        LogicaAplicacion.p13aa_1 = p13aa_1;
    }

    public static int getP13aa_2() {
        return p13aa_2;
    }

    public static void setP13aa_2(int p13aa_2) {
        LogicaAplicacion.p13aa_2 = p13aa_2;
    }

    public static int getP13aa_3() {
        return p13aa_3;
    }

    public static void setP13aa_3(int p13aa_3) {
        LogicaAplicacion.p13aa_3 = p13aa_3;
    }

    public static int getP13ab_1() {
        return p13ab_1;
    }

    public static void setP13ab_1(int p13ab_1) {
        LogicaAplicacion.p13ab_1 = p13ab_1;
    }

    public static int getP13ab_2() {
        return p13ab_2;
    }

    public static void setP13ab_2(int p13ab_2) {
        LogicaAplicacion.p13ab_2 = p13ab_2;
    }

    public static int getP13ab_3() {
        return p13ab_3;
    }

    public static void setP13ab_3(int p13ab_3) {
        LogicaAplicacion.p13ab_3 = p13ab_3;
    }

    public static int getP13ac_1() {
        return p13ac_1;
    }

    public static void setP13ac_1(int p13ac_1) {
        LogicaAplicacion.p13ac_1 = p13ac_1;
    }

    public static int getP13ac_2() {
        return p13ac_2;
    }

    public static void setP13ac_2(int p13ac_2) {
        LogicaAplicacion.p13ac_2 = p13ac_2;
    }

    public static int getP13ac_3() {
        return p13ac_3;
    }

    public static void setP13ac_3(int p13ac_3) {
        LogicaAplicacion.p13ac_3 = p13ac_3;
    }

    public static int getP13ad_1() {
        return p13ad_1;
    }

    public static void setP13ad_1(int p13ad_1) {
        LogicaAplicacion.p13ad_1 = p13ad_1;
    }

    public static int getP13ad_2() {
        return p13ad_2;
    }

    public static void setP13ad_2(int p13ad_2) {
        LogicaAplicacion.p13ad_2 = p13ad_2;
    }

    public static int getP13ad_3() {
        return p13ad_3;
    }

    public static void setP13ad_3(int p13ad_3) {
        LogicaAplicacion.p13ad_3 = p13ad_3;
    }

    public static int getP13ae_1() {
        return p13ae_1;
    }

    public static void setP13ae_1(int p13ae_1) {
        LogicaAplicacion.p13ae_1 = p13ae_1;
    }

    public static int getP13ae_2() {
        return p13ae_2;
    }

    public static void setP13ae_2(int p13ae_2) {
        LogicaAplicacion.p13ae_2 = p13ae_2;
    }

    public static int getP13ae_3() {
        return p13ae_3;
    }

    public static void setP13ae_3(int p13ae_3) {
        LogicaAplicacion.p13ae_3 = p13ae_3;
    }

    private static int p13ba_1 = 0;
    private static int p13ba_2 = 0;
    private static int p13ba_3 = 0;
    private static int p13bb_1 = 0;
    private static int p13bb_2 = 0;
    private static int p13bb_3 = 0;
    private static int p13bc_1 = 0;
    private static int p13bc_2 = 0;
    private static int p13bc_3 = 0;
    private static int p13bd_1 = 0;
    private static int p13bd_2 = 0;
    private static int p13bd_3 = 0;
    private static int p13be_1 = 0;
    private static int p13be_2 = 0;
    private static int p13be_3 = 0;

    public static int getP13ba_1() {
        return p13ba_1;
    }

    public static void setP13ba_1(int p13ba_1) {
        LogicaAplicacion.p13ba_1 = p13ba_1;
    }

    public static int getP13ba_2() {
        return p13ba_2;
    }

    public static void setP13ba_2(int p13ba_2) {
        LogicaAplicacion.p13ba_2 = p13ba_2;
    }

    public static int getP13ba_3() {
        return p13ba_3;
    }

    public static void setP13ba_3(int p13ba_3) {
        LogicaAplicacion.p13ba_3 = p13ba_3;
    }

    public static int getP13bb_1() {
        return p13bb_1;
    }

    public static void setP13bb_1(int p13bb_1) {
        LogicaAplicacion.p13bb_1 = p13bb_1;
    }

    public static int getP13bb_2() {
        return p13bb_2;
    }

    public static void setP13bb_2(int p13bb_2) {
        LogicaAplicacion.p13bb_2 = p13bb_2;
    }

    public static int getP13bb_3() {
        return p13bb_3;
    }

    public static void setP13bb_3(int p13bb_3) {
        LogicaAplicacion.p13bb_3 = p13bb_3;
    }

    public static int getP13bc_1() {
        return p13bc_1;
    }

    public static void setP13bc_1(int p13bc_1) {
        LogicaAplicacion.p13bc_1 = p13bc_1;
    }

    public static int getP13bc_2() {
        return p13bc_2;
    }

    public static void setP13bc_2(int p13bc_2) {
        LogicaAplicacion.p13bc_2 = p13bc_2;
    }

    public static int getP13bc_3() {
        return p13bc_3;
    }

    public static void setP13bc_3(int p13bc_3) {
        LogicaAplicacion.p13bc_3 = p13bc_3;
    }

    public static int getP13bd_1() {
        return p13bd_1;
    }

    public static void setP13bd_1(int p13bd_1) {
        LogicaAplicacion.p13bd_1 = p13bd_1;
    }

    public static int getP13bd_2() {
        return p13bd_2;
    }

    public static void setP13bd_2(int p13bd_2) {
        LogicaAplicacion.p13bd_2 = p13bd_2;
    }

    public static int getP13bd_3() {
        return p13bd_3;
    }

    public static void setP13bd_3(int p13bd_3) {
        LogicaAplicacion.p13bd_3 = p13bd_3;
    }

    public static int getP13be_1() {
        return p13be_1;
    }

    public static void setP13be_1(int p13be_1) {
        LogicaAplicacion.p13be_1 = p13be_1;
    }

    public static int getP13be_2() {
        return p13be_2;
    }

    public static void setP13be_2(int p13be_2) {
        LogicaAplicacion.p13be_2 = p13be_2;
    }

    public static int getP13be_3() {
        return p13be_3;
    }

    public static void setP13be_3(int p13be_3) {
        LogicaAplicacion.p13be_3 = p13be_3;
    }

    
    private static int p12a_1 = 0;
    private static int p12a_2 = 0;
    private static int p12a_3 = 0;
    private static int p12b_1 = 0;
    private static int p12b_2 = 0;
    private static int p12b_3 = 0;
    private static String p12b_3_N = "";

    public static String getP12b_3_N() {
        return p12b_3_N;
    }

    public static void setP12b_3_N(String p12b_3_N) {
        LogicaAplicacion.p12b_3_N = p12b_3_N;
    }

    public static int getP12a_1() {
        return p12a_1;
    }

    public static void setP12a_1(int p12a_1) {
        LogicaAplicacion.p12a_1 = p12a_1;
    }

    public static int getP12a_2() {
        return p12a_2;
    }

    public static void setP12a_2(int p12a_2) {
        LogicaAplicacion.p12a_2 = p12a_2;
    }

    public static int getP12a_3() {
        return p12a_3;
    }

    public static void setP12a_3(int p12a_3) {
        LogicaAplicacion.p12a_3 = p12a_3;
    }

    public static int getP12b_1() {
        return p12b_1;
    }

    public static void setP12b_1(int p12b_1) {
        LogicaAplicacion.p12b_1 = p12b_1;
    }

    public static int getP12b_2() {
        return p12b_2;
    }

    public static void setP12b_2(int p12b_2) {
        LogicaAplicacion.p12b_2 = p12b_2;
    }

    public static int getP12b_3() {
        return p12b_3;
    }

    public static void setP12b_3(int p12b_3) {
        LogicaAplicacion.p12b_3 = p12b_3;
    }

    public static AccesoSpss getAcceso() {
        return acceso;
    }

    public static void setAcceso(AccesoSpss acceso) {
        LogicaAplicacion.acceso = acceso;
    }

    public static int getContarInternet() {
        return contarInternet;
    }

    public static void setContarInternet(int contarInternet) {
        LogicaAplicacion.contarInternet = contarInternet;
    }
   
    private static int yd = 0;
    private static int ye = 0;
    private static int yfa = 0;

    public static int getYd() {
        return yd;
    }

    public static void setYd(int yd) {
        LogicaAplicacion.yd = yd;
    }

    public static int getYe() {
        return ye;
    }

    public static void setYe(int ye) {
        LogicaAplicacion.ye = ye;
    }

    public static int getYfa() {
        return yfa;
    }

    public static void setYfa(int yfa) {
        LogicaAplicacion.yfa = yfa;
    }
    
    private static ArrayList p2s = new ArrayList();
    private static int p3 = 0;
    private static int p5 = 0;
    
    private static int p4a_1 = 0;
    private static int p4a_2 = 0;
    private static int p4a_3 = 0;
    private static int p4a_4 = 0;
    private static int p4a_5 = 0;
    private static int p4a_6 = 0;
    private static String p4a_6_N = "";
    private static int p4b = 0;
    private static ArrayList p4s = new ArrayList();

    public static ArrayList getP4s() {
        return p4s;
    }

    public static void setP4s(ArrayList p4s) {
        LogicaAplicacion.p4s = p4s;
    }
    
    public static int getP4a_1() {
        return p4a_1;
    }

    public static void setP4a_1(int p4a_1) {
        LogicaAplicacion.p4a_1 = p4a_1;
    }

    public static int getP4a_2() {
        return p4a_2;
    }

    public static void setP4a_2(int p4a_2) {
        LogicaAplicacion.p4a_2 = p4a_2;
    }

    public static int getP4a_3() {
        return p4a_3;
    }

    public static void setP4a_3(int p4a_3) {
        LogicaAplicacion.p4a_3 = p4a_3;
    }

    public static int getP4a_4() {
        return p4a_4;
    }

    public static void setP4a_4(int p4a_4) {
        LogicaAplicacion.p4a_4 = p4a_4;
    }

    public static int getP4a_5() {
        return p4a_5;
    }

    public static void setP4a_5(int p4a_5) {
        LogicaAplicacion.p4a_5 = p4a_5;
    }

    public static int getP4a_6() {
        return p4a_6;
    }

    public static void setP4a_6(int p4a_6) {
        LogicaAplicacion.p4a_6 = p4a_6;
    }

    public static String getP4a_6_N() {
        return p4a_6_N;
    }

    public static void setP4a_6_N(String p4a_6_N) {
        LogicaAplicacion.p4a_6_N = p4a_6_N;
    }

    public static int getP4b() {
        return p4b;
    }

    public static void setP4b(int p4b) {
        LogicaAplicacion.p4b = p4b;
    }

    
    // Contadores para enlaces y puertos conmutados.
    
    private static int p6_1 = 0;
    private static int p6_2 = 0;
    private static int p7_t = 0;
    private static int p7_c1 = 0;
    private static int p7_c2 = 0;
    private static int p7_c3 = 0;
    private static int p7_c4 = 0;
    private static int p7_c5 = 0;
    private static int p7_c6 = 0;
    private static int p7_f1 = 0;
    private static int p7_f2 = 0;
    private static int p7_f3 = 0;
    private static int p7_f4 = 0;
    private static int p7_f5 = 0;
    private static int p7_f6 = 0;
    private static int p7_f7 = 0;
    private static int p7_f8 = 0;
    private static int p7_f9 = 0;
    private static int p7_f10 = 0;
    private static int p7_f11 = 0;
    private static int p7_f12 = 0;
    private static int p7_f12_N = 0;
    
    // a = capital 
    
    private static int p7a_1 = 0;
    private static int p7a_2 = 0;
    private static int p7a_3 = 0;
    private static int p7a_4 = 0;
    private static int p7a_5 = 0;
    private static int p7a_6 = 0;
    private static int p7a_7 = 0;
    private static int p7a_8 = 0;
    private static int p7a_9 = 0;
    private static int p7a_10 = 0;
    private static int p7a_11 = 0;
    private static int p7a_12 = 0;

    // b = central
    private static int p7b_1 = 0;
    private static int p7b_2 = 0;
    private static int p7b_3 = 0;
    private static int p7b_4 = 0;
    private static int p7b_5 = 0;
    private static int p7b_6 = 0;
    private static int p7b_7 = 0;
    private static int p7b_8 = 0;
    private static int p7b_9 = 0;
    private static int p7b_10 = 0;
    private static int p7b_11 = 0;
    private static int p7b_12 = 0;

    // c = centro occidental
    
    private static int p7c_1 = 0;
    private static int p7c_2 = 0;
    private static int p7c_3 = 0;
    private static int p7c_4 = 0;
    private static int p7c_5 = 0;
    private static int p7c_6 = 0;
    private static int p7c_7 = 0;
    private static int p7c_8 = 0;
    private static int p7c_9 = 0;
    private static int p7c_10 = 0;
    private static int p7c_11 = 0;
    private static int p7c_12 = 0;

    // d = occidental
    
    private static int p7d_1 = 0;
    private static int p7d_2 = 0;
    private static int p7d_3 = 0;
    private static int p7d_4 = 0;
    private static int p7d_5 = 0;
    private static int p7d_6 = 0;
    private static int p7d_7 = 0;
    private static int p7d_8 = 0;
    private static int p7d_9 = 0;
    private static int p7d_10 = 0;
    private static int p7d_11 = 0;
    private static int p7d_12 = 0;

    // e = oriental
    
    private static int p7e_1 = 0;
    private static int p7e_2 = 0;
    private static int p7e_3 = 0;
    private static int p7e_4 = 0;
    private static int p7e_5 = 0;
    private static int p7e_6 = 0;
    private static int p7e_7 = 0;
    private static int p7e_8 = 0;
    private static int p7e_9 = 0;
    private static int p7e_10 = 0;
    private static int p7e_11 = 0;
    private static int p7e_12 = 0;

    // f = NS/NC
    
    private static int p7f_1 = 0;
    private static int p7f_2 = 0;
    private static int p7f_3 = 0;
    private static int p7f_4 = 0;
    private static int p7f_5 = 0;
    private static int p7f_6 = 0;
    private static int p7f_7 = 0;
    private static int p7f_8 = 0;
    private static int p7f_9 = 0;
    private static int p7f_10 = 0;
    private static int p7f_11 = 0;
    private static int p7f_12 = 0;
    
    // Totales de puertos conmutados
    
    private static int p8_f1 = 0;
    private static int p8_f2 = 0;
    private static int p8_f3 = 0;
    private static int p8_f4 = 0;
    private static int p8_f5 = 0;
    private static int p8_f6 = 0;
    private static int p8_f7 = 0;
    private static int p8_f8 = 0;
    private static int p8_f9 = 0;

    public static int getP8_f1() {
        return p8_f1;
    }

    public static void setP8_f1(int p8_f1) {
        LogicaAplicacion.p8_f1 = p8_f1;
    }

    public static int getP8_f2() {
        return p8_f2;
    }

    public static void setP8_f2(int p8_f2) {
        LogicaAplicacion.p8_f2 = p8_f2;
    }

    public static int getP8_f3() {
        return p8_f3;
    }

    public static void setP8_f3(int p8_f3) {
        LogicaAplicacion.p8_f3 = p8_f3;
    }

    public static int getP8_f4() {
        return p8_f4;
    }

    public static void setP8_f4(int p8_f4) {
        LogicaAplicacion.p8_f4 = p8_f4;
    }

    public static int getP8_f5() {
        return p8_f5;
    }

    public static void setP8_f5(int p8_f5) {
        LogicaAplicacion.p8_f5 = p8_f5;
    }

    public static int getP8_f6() {
        return p8_f6;
    }

    public static void setP8_f6(int p8_f6) {
        LogicaAplicacion.p8_f6 = p8_f6;
    }

    public static int getP8_f7() {
        return p8_f7;
    }

    public static void setP8_f7(int p8_f7) {
        LogicaAplicacion.p8_f7 = p8_f7;
    }

    public static int getP8_f8() {
        return p8_f8;
    }

    public static void setP8_f8(int p8_f8) {
        LogicaAplicacion.p8_f8 = p8_f8;
    }

    public static int getP8_f9() {
        return p8_f9;
    }

    public static void setP8_f9(int p8_f9) {
        LogicaAplicacion.p8_f9 = p8_f9;
    }

    private static int p8a_1 = 0;
    private static int p8a_2 = 0;
    private static int p8a_3 = 0;
    private static int p8a_4 = 0;
    private static int p8a_5 = 0;
    private static int p8a_6 = 0;
    private static int p8a_7 = 0;
    private static int p8a_8 = 0;
    private static int p8a_9 = 0;

    public static int getP8a_1() {
        return p8a_1;
    }

    public static void setP8a_1(int p8a_1) {
        LogicaAplicacion.p8a_1 = p8a_1;
    }

    public static int getP8a_2() {
        return p8a_2;
    }

    public static void setP8a_2(int p8a_2) {
        LogicaAplicacion.p8a_2 = p8a_2;
    }

    public static int getP8a_3() {
        return p8a_3;
    }

    public static void setP8a_3(int p8a_3) {
        LogicaAplicacion.p8a_3 = p8a_3;
    }

    public static int getP8a_4() {
        return p8a_4;
    }

    public static void setP8a_4(int p8a_4) {
        LogicaAplicacion.p8a_4 = p8a_4;
    }

    public static int getP8a_5() {
        return p8a_5;
    }

    public static void setP8a_5(int p8a_5) {
        LogicaAplicacion.p8a_5 = p8a_5;
    }

    public static int getP8a_6() {
        return p8a_6;
    }

    public static void setP8a_6(int p8a_6) {
        LogicaAplicacion.p8a_6 = p8a_6;
    }

    public static int getP8a_7() {
        return p8a_7;
    }

    public static void setP8a_7(int p8a_7) {
        LogicaAplicacion.p8a_7 = p8a_7;
    }

    public static int getP8a_8() {
        return p8a_8;
    }

    public static void setP8a_8(int p8a_8) {
        LogicaAplicacion.p8a_8 = p8a_8;
    }

    public static int getP8a_9() {
        return p8a_9;
    }

    public static void setP8a_9(int p8a_9) {
        LogicaAplicacion.p8a_9 = p8a_9;
    }
    
    
    
    private static int p8b_1 = 0;
    private static int p8b_2 = 0;
    private static int p8b_3 = 0;
    private static int p8b_4 = 0;
    private static int p8b_5 = 0;
    private static int p8b_6 = 0;
    private static int p8b_7 = 0;
    private static int p8b_8 = 0;
    private static int p8b_9 = 0;

    public static int getP8b_1() {
        return p8b_1;
    }

    public static void setP8b_1(int p8b_1) {
        LogicaAplicacion.p8b_1 = p8b_1;
    }

    public static int getP8b_2() {
        return p8b_2;
    }

    public static void setP8b_2(int p8b_2) {
        LogicaAplicacion.p8b_2 = p8b_2;
    }

    public static int getP8b_3() {
        return p8b_3;
    }

    public static void setP8b_3(int p8b_3) {
        LogicaAplicacion.p8b_3 = p8b_3;
    }

    public static int getP8b_4() {
        return p8b_4;
    }

    public static void setP8b_4(int p8b_4) {
        LogicaAplicacion.p8b_4 = p8b_4;
    }

    public static int getP8b_5() {
        return p8b_5;
    }

    public static void setP8b_5(int p8b_5) {
        LogicaAplicacion.p8b_5 = p8b_5;
    }

    public static int getP8b_6() {
        return p8b_6;
    }

    public static void setP8b_6(int p8b_6) {
        LogicaAplicacion.p8b_6 = p8b_6;
    }

    public static int getP8b_7() {
        return p8b_7;
    }

    public static void setP8b_7(int p8b_7) {
        LogicaAplicacion.p8b_7 = p8b_7;
    }

    public static int getP8b_8() {
        return p8b_8;
    }

    public static void setP8b_8(int p8b_8) {
        LogicaAplicacion.p8b_8 = p8b_8;
    }

    public static int getP8b_9() {
        return p8b_9;
    }

    public static void setP8b_9(int p8b_9) {
        LogicaAplicacion.p8b_9 = p8b_9;
    }
    
    
    
    private static int p8c_1 = 0;
    private static int p8c_2 = 0;
    private static int p8c_3 = 0;
    private static int p8c_4 = 0;
    private static int p8c_5 = 0;
    private static int p8c_6 = 0;
    private static int p8c_7 = 0;
    private static int p8c_8 = 0;
    private static int p8c_9 = 0;

    public static int getP8c_1() {
        return p8c_1;
    }

    public static void setP8c_1(int p8c_1) {
        LogicaAplicacion.p8c_1 = p8c_1;
    }

    public static int getP8c_2() {
        return p8c_2;
    }

    public static void setP8c_2(int p8c_2) {
        LogicaAplicacion.p8c_2 = p8c_2;
    }

    public static int getP8c_3() {
        return p8c_3;
    }

    public static void setP8c_3(int p8c_3) {
        LogicaAplicacion.p8c_3 = p8c_3;
    }

    public static int getP8c_4() {
        return p8c_4;
    }

    public static void setP8c_4(int p8c_4) {
        LogicaAplicacion.p8c_4 = p8c_4;
    }

    public static int getP8c_5() {
        return p8c_5;
    }

    public static void setP8c_5(int p8c_5) {
        LogicaAplicacion.p8c_5 = p8c_5;
    }

    public static int getP8c_6() {
        return p8c_6;
    }

    public static void setP8c_6(int p8c_6) {
        LogicaAplicacion.p8c_6 = p8c_6;
    }

    public static int getP8c_7() {
        return p8c_7;
    }

    public static void setP8c_7(int p8c_7) {
        LogicaAplicacion.p8c_7 = p8c_7;
    }

    public static int getP8c_8() {
        return p8c_8;
    }

    public static void setP8c_8(int p8c_8) {
        LogicaAplicacion.p8c_8 = p8c_8;
    }

    public static int getP8c_9() {
        return p8c_9;
    }

    public static void setP8c_9(int p8c_9) {
        LogicaAplicacion.p8c_9 = p8c_9;
    }
    
    
    
    private static int p8d_1 = 0;
    private static int p8d_2 = 0;
    private static int p8d_3 = 0;
    private static int p8d_4 = 0;
    private static int p8d_5 = 0;
    private static int p8d_6 = 0;
    private static int p8d_7 = 0;
    private static int p8d_8 = 0;
    private static int p8d_9 = 0;

    public static int getP8d_1() {
        return p8d_1;
    }

    public static void setP8d_1(int p8d_1) {
        LogicaAplicacion.p8d_1 = p8d_1;
    }

    public static int getP8d_2() {
        return p8d_2;
    }

    public static void setP8d_2(int p8d_2) {
        LogicaAplicacion.p8d_2 = p8d_2;
    }

    public static int getP8d_3() {
        return p8d_3;
    }

    public static void setP8d_3(int p8d_3) {
        LogicaAplicacion.p8d_3 = p8d_3;
    }

    public static int getP8d_4() {
        return p8d_4;
    }

    public static void setP8d_4(int p8d_4) {
        LogicaAplicacion.p8d_4 = p8d_4;
    }

    public static int getP8d_5() {
        return p8d_5;
    }

    public static void setP8d_5(int p8d_5) {
        LogicaAplicacion.p8d_5 = p8d_5;
    }

    public static int getP8d_6() {
        return p8d_6;
    }

    public static void setP8d_6(int p8d_6) {
        LogicaAplicacion.p8d_6 = p8d_6;
    }

    public static int getP8d_7() {
        return p8d_7;
    }

    public static void setP8d_7(int p8d_7) {
        LogicaAplicacion.p8d_7 = p8d_7;
    }

    public static int getP8d_8() {
        return p8d_8;
    }

    public static void setP8d_8(int p8d_8) {
        LogicaAplicacion.p8d_8 = p8d_8;
    }

    public static int getP8d_9() {
        return p8d_9;
    }

    public static void setP8d_9(int p8d_9) {
        LogicaAplicacion.p8d_9 = p8d_9;
    }
    
    
    
    private static int p8e_1 = 0;
    private static int p8e_2 = 0;
    private static int p8e_3 = 0;
    private static int p8e_4 = 0;
    private static int p8e_5 = 0;
    private static int p8e_6 = 0;
    private static int p8e_7 = 0;
    private static int p8e_8 = 0;
    private static int p8e_9 = 0;

    public static int getP8e_1() {
        return p8e_1;
    }

    public static void setP8e_1(int p8e_1) {
        LogicaAplicacion.p8e_1 = p8e_1;
    }

    public static int getP8e_2() {
        return p8e_2;
    }

    public static void setP8e_2(int p8e_2) {
        LogicaAplicacion.p8e_2 = p8e_2;
    }

    public static int getP8e_3() {
        return p8e_3;
    }

    public static void setP8e_3(int p8e_3) {
        LogicaAplicacion.p8e_3 = p8e_3;
    }

    public static int getP8e_4() {
        return p8e_4;
    }

    public static void setP8e_4(int p8e_4) {
        LogicaAplicacion.p8e_4 = p8e_4;
    }

    public static int getP8e_5() {
        return p8e_5;
    }

    public static void setP8e_5(int p8e_5) {
        LogicaAplicacion.p8e_5 = p8e_5;
    }

    public static int getP8e_6() {
        return p8e_6;
    }

    public static void setP8e_6(int p8e_6) {
        LogicaAplicacion.p8e_6 = p8e_6;
    }

    public static int getP8e_7() {
        return p8e_7;
    }

    public static void setP8e_7(int p8e_7) {
        LogicaAplicacion.p8e_7 = p8e_7;
    }

    public static int getP8e_8() {
        return p8e_8;
    }

    public static void setP8e_8(int p8e_8) {
        LogicaAplicacion.p8e_8 = p8e_8;
    }

    public static int getP8e_9() {
        return p8e_9;
    }

    public static void setP8e_9(int p8e_9) {
        LogicaAplicacion.p8e_9 = p8e_9;
    }
 
    private static int p8f_1 = 0;
    private static int p8f_2 = 0;
    private static int p8f_3 = 0;
    private static int p8f_4 = 0;
    private static int p8f_5 = 0;
    private static int p8f_6 = 0;
    private static int p8f_7 = 0;
    private static int p8f_8 = 0;
    private static int p8f_9 = 0;

    public static int getP8f_1() {
        return p8f_1;
    }

    public static void setP8f_1(int p8f_1) {
        LogicaAplicacion.p8f_1 = p8f_1;
    }

    public static int getP8f_2() {
        return p8f_2;
    }

    public static void setP8f_2(int p8f_2) {
        LogicaAplicacion.p8f_2 = p8f_2;
    }

    public static int getP8f_3() {
        return p8f_3;
    }

    public static void setP8f_3(int p8f_3) {
        LogicaAplicacion.p8f_3 = p8f_3;
    }

    public static int getP8f_4() {
        return p8f_4;
    }

    public static void setP8f_4(int p8f_4) {
        LogicaAplicacion.p8f_4 = p8f_4;
    }

    public static int getP8f_5() {
        return p8f_5;
    }

    public static void setP8f_5(int p8f_5) {
        LogicaAplicacion.p8f_5 = p8f_5;
    }

    public static int getP8f_6() {
        return p8f_6;
    }

    public static void setP8f_6(int p8f_6) {
        LogicaAplicacion.p8f_6 = p8f_6;
    }

    public static int getP8f_7() {
        return p8f_7;
    }

    public static void setP8f_7(int p8f_7) {
        LogicaAplicacion.p8f_7 = p8f_7;
    }

    public static int getP8f_8() {
        return p8f_8;
    }

    public static void setP8f_8(int p8f_8) {
        LogicaAplicacion.p8f_8 = p8f_8;
    }

    public static int getP8f_9() {
        return p8f_9;
    }

    public static void setP8f_9(int p8f_9) {
        LogicaAplicacion.p8f_9 = p8f_9;
    }

    //-----------------------------------------------------

    //------ Enlaces conmutados ---------------------//

    private static int p9t = 0;
    
    private static int p9_c1 = 0;
    private static int p9_c2 = 0;
    private static int p9_c3 = 0;
    private static int p9_c4 = 0;
    private static int p9_c5 = 0;
    private static int p9_c6 = 0;

    public static int getP9t() {
        return p9t;
    }

    public static void setP9t(int p9t) {
        LogicaAplicacion.p9t = p9t;
    }

    public static int getP9_c1() {
        return p9_c1;
    }

    public static void setP9_c1(int p9_c1) {
        LogicaAplicacion.p9_c1 = p9_c1;
    }

    public static int getP9_c2() {
        return p9_c2;
    }

    public static void setP9_c2(int p9_c2) {
        LogicaAplicacion.p9_c2 = p9_c2;
    }

    public static int getP9_c3() {
        return p9_c3;
    }

    public static void setP9_c3(int p9_c3) {
        LogicaAplicacion.p9_c3 = p9_c3;
    }

    public static int getP9_c4() {
        return p9_c4;
    }

    public static void setP9_c4(int p9_c4) {
        LogicaAplicacion.p9_c4 = p9_c4;
    }

    public static int getP9_c5() {
        return p9_c5;
    }

    public static void setP9_c5(int p9_c5) {
        LogicaAplicacion.p9_c5 = p9_c5;
    }

    public static int getP9_c6() {
        return p9_c6;
    }

    public static void setP9_c6(int p9_c6) {
        LogicaAplicacion.p9_c6 = p9_c6;
    }

    public static int getP9_f1() {
        return p9_f1;
    }

    public static void setP9_f1(int p9_f1) {
        LogicaAplicacion.p9_f1 = p9_f1;
    }

    public static int getP9_f2() {
        return p9_f2;
    }

    public static void setP9_f2(int p9_f2) {
        LogicaAplicacion.p9_f2 = p9_f2;
    }

    public static int getP9_f3() {
        return p9_f3;
    }

    public static void setP9_f3(int p9_f3) {
        LogicaAplicacion.p9_f3 = p9_f3;
    }

    public static int getP9_f4() {
        return p9_f4;
    }

    public static void setP9_f4(int p9_f4) {
        LogicaAplicacion.p9_f4 = p9_f4;
    }

    public static int getP9_f5() {
        return p9_f5;
    }

    public static void setP9_f5(int p9_f5) {
        LogicaAplicacion.p9_f5 = p9_f5;
    }

    public static int getP9_f6() {
        return p9_f6;
    }

    public static void setP9_f6(int p9_f6) {
        LogicaAplicacion.p9_f6 = p9_f6;
    }

    public static int getP9_f7() {
        return p9_f7;
    }

    public static void setP9_f7(int p9_f7) {
        LogicaAplicacion.p9_f7 = p9_f7;
    }

    public static int getP9_f8() {
        return p9_f8;
    }

    public static void setP9_f8(int p9_f8) {
        LogicaAplicacion.p9_f8 = p9_f8;
    }

    public static int getP9_f9() {
        return p9_f9;
    }

    public static void setP9_f9(int p9_f9) {
        LogicaAplicacion.p9_f9 = p9_f9;
    }

    public static int getP9_f10() {
        return p9_f10;
    }

    public static void setP9_f10(int p9_f10) {
        LogicaAplicacion.p9_f10 = p9_f10;
    }

    public static int getP9_f11() {
        return p9_f11;
    }

    public static void setP9_f11(int p9_f11) {
        LogicaAplicacion.p9_f11 = p9_f11;
    }

    public static int getP9_f12() {
        return p9_f12;
    }

    public static void setP9_f12(int p9_f12) {
        LogicaAplicacion.p9_f12 = p9_f12;
    }

    public static int getP9_f12_N() {
        return p9_f12_N;
    }

    public static void setP9_f12_N(int p9_f12_N) {
        LogicaAplicacion.p9_f12_N = p9_f12_N;
    }

    public static int getP9a_1() {
        return p9a_1;
    }

    public static void setP9a_1(int p9a_1) {
        LogicaAplicacion.p9a_1 = p9a_1;
    }

    public static int getP9a_2() {
        return p9a_2;
    }

    public static void setP9a_2(int p9a_2) {
        LogicaAplicacion.p9a_2 = p9a_2;
    }

    public static int getP9a_3() {
        return p9a_3;
    }

    public static void setP9a_3(int p9a_3) {
        LogicaAplicacion.p9a_3 = p9a_3;
    }

    public static int getP9a_4() {
        return p9a_4;
    }

    public static void setP9a_4(int p9a_4) {
        LogicaAplicacion.p9a_4 = p9a_4;
    }

    public static int getP9a_5() {
        return p9a_5;
    }

    public static void setP9a_5(int p9a_5) {
        LogicaAplicacion.p9a_5 = p9a_5;
    }

    public static int getP9a_6() {
        return p9a_6;
    }

    public static void setP9a_6(int p9a_6) {
        LogicaAplicacion.p9a_6 = p9a_6;
    }

    public static int getP9a_7() {
        return p9a_7;
    }

    public static void setP9a_7(int p9a_7) {
        LogicaAplicacion.p9a_7 = p9a_7;
    }

    public static int getP9a_8() {
        return p9a_8;
    }

    public static void setP9a_8(int p9a_8) {
        LogicaAplicacion.p9a_8 = p9a_8;
    }

    public static int getP9a_9() {
        return p9a_9;
    }

    public static void setP9a_9(int p9a_9) {
        LogicaAplicacion.p9a_9 = p9a_9;
    }

    public static int getP9a_10() {
        return p9a_10;
    }

    public static void setP9a_10(int p9a_10) {
        LogicaAplicacion.p9a_10 = p9a_10;
    }

    public static int getP9a_11() {
        return p9a_11;
    }

    public static void setP9a_11(int p9a_11) {
        LogicaAplicacion.p9a_11 = p9a_11;
    }

    public static int getP9a_12() {
        return p9a_12;
    }

    public static void setP9a_12(int p9a_12) {
        LogicaAplicacion.p9a_12 = p9a_12;
    }

    public static int getP9b_1() {
        return p9b_1;
    }

    public static void setP9b_1(int p9b_1) {
        LogicaAplicacion.p9b_1 = p9b_1;
    }

    public static int getP9b_2() {
        return p9b_2;
    }

    public static void setP9b_2(int p9b_2) {
        LogicaAplicacion.p9b_2 = p9b_2;
    }

    public static int getP9b_3() {
        return p9b_3;
    }

    public static void setP9b_3(int p9b_3) {
        LogicaAplicacion.p9b_3 = p9b_3;
    }

    public static int getP9b_4() {
        return p9b_4;
    }

    public static void setP9b_4(int p9b_4) {
        LogicaAplicacion.p9b_4 = p9b_4;
    }

    public static int getP9b_5() {
        return p9b_5;
    }

    public static void setP9b_5(int p9b_5) {
        LogicaAplicacion.p9b_5 = p9b_5;
    }

    public static int getP9b_6() {
        return p9b_6;
    }

    public static void setP9b_6(int p9b_6) {
        LogicaAplicacion.p9b_6 = p9b_6;
    }

    public static int getP9b_7() {
        return p9b_7;
    }

    public static void setP9b_7(int p9b_7) {
        LogicaAplicacion.p9b_7 = p9b_7;
    }

    public static int getP9b_8() {
        return p9b_8;
    }

    public static void setP9b_8(int p9b_8) {
        LogicaAplicacion.p9b_8 = p9b_8;
    }

    public static int getP9b_9() {
        return p9b_9;
    }

    public static void setP9b_9(int p9b_9) {
        LogicaAplicacion.p9b_9 = p9b_9;
    }

    public static int getP9b_10() {
        return p9b_10;
    }

    public static void setP9b_10(int p9b_10) {
        LogicaAplicacion.p9b_10 = p9b_10;
    }

    public static int getP9b_11() {
        return p9b_11;
    }

    public static void setP9b_11(int p9b_11) {
        LogicaAplicacion.p9b_11 = p9b_11;
    }

    public static int getP9b_12() {
        return p9b_12;
    }

    public static void setP9b_12(int p9b_12) {
        LogicaAplicacion.p9b_12 = p9b_12;
    }

    public static int getP9c_1() {
        return p9c_1;
    }

    public static void setP9c_1(int p9c_1) {
        LogicaAplicacion.p9c_1 = p9c_1;
    }

    public static int getP9c_2() {
        return p9c_2;
    }

    public static void setP9c_2(int p9c_2) {
        LogicaAplicacion.p9c_2 = p9c_2;
    }

    public static int getP9c_3() {
        return p9c_3;
    }

    public static void setP9c_3(int p9c_3) {
        LogicaAplicacion.p9c_3 = p9c_3;
    }

    public static int getP9c_4() {
        return p9c_4;
    }

    public static void setP9c_4(int p9c_4) {
        LogicaAplicacion.p9c_4 = p9c_4;
    }

    public static int getP9c_5() {
        return p9c_5;
    }

    public static void setP9c_5(int p9c_5) {
        LogicaAplicacion.p9c_5 = p9c_5;
    }

    public static int getP9c_6() {
        return p9c_6;
    }

    public static void setP9c_6(int p9c_6) {
        LogicaAplicacion.p9c_6 = p9c_6;
    }

    public static int getP9c_7() {
        return p9c_7;
    }

    public static void setP9c_7(int p9c_7) {
        LogicaAplicacion.p9c_7 = p9c_7;
    }

    public static int getP9c_8() {
        return p9c_8;
    }

    public static void setP9c_8(int p9c_8) {
        LogicaAplicacion.p9c_8 = p9c_8;
    }

    public static int getP9c_9() {
        return p9c_9;
    }

    public static void setP9c_9(int p9c_9) {
        LogicaAplicacion.p9c_9 = p9c_9;
    }

    public static int getP9c_10() {
        return p9c_10;
    }

    public static void setP9c_10(int p9c_10) {
        LogicaAplicacion.p9c_10 = p9c_10;
    }

    public static int getP9c_11() {
        return p9c_11;
    }

    public static void setP9c_11(int p9c_11) {
        LogicaAplicacion.p9c_11 = p9c_11;
    }

    public static int getP9c_12() {
        return p9c_12;
    }

    public static void setP9c_12(int p9c_12) {
        LogicaAplicacion.p9c_12 = p9c_12;
    }

    public static int getP9d_1() {
        return p9d_1;
    }

    public static void setP9d_1(int p9d_1) {
        LogicaAplicacion.p9d_1 = p9d_1;
    }

    public static int getP9d_2() {
        return p9d_2;
    }

    public static void setP9d_2(int p9d_2) {
        LogicaAplicacion.p9d_2 = p9d_2;
    }

    public static int getP9d_3() {
        return p9d_3;
    }

    public static void setP9d_3(int p9d_3) {
        LogicaAplicacion.p9d_3 = p9d_3;
    }

    public static int getP9d_4() {
        return p9d_4;
    }

    public static void setP9d_4(int p9d_4) {
        LogicaAplicacion.p9d_4 = p9d_4;
    }

    public static int getP9d_5() {
        return p9d_5;
    }

    public static void setP9d_5(int p9d_5) {
        LogicaAplicacion.p9d_5 = p9d_5;
    }

    public static int getP9d_6() {
        return p9d_6;
    }

    public static void setP9d_6(int p9d_6) {
        LogicaAplicacion.p9d_6 = p9d_6;
    }

    public static int getP9d_7() {
        return p9d_7;
    }

    public static void setP9d_7(int p9d_7) {
        LogicaAplicacion.p9d_7 = p9d_7;
    }

    public static int getP9d_8() {
        return p9d_8;
    }

    public static void setP9d_8(int p9d_8) {
        LogicaAplicacion.p9d_8 = p9d_8;
    }

    public static int getP9d_9() {
        return p9d_9;
    }

    public static void setP9d_9(int p9d_9) {
        LogicaAplicacion.p9d_9 = p9d_9;
    }

    public static int getP9d_10() {
        return p9d_10;
    }

    public static void setP9d_10(int p9d_10) {
        LogicaAplicacion.p9d_10 = p9d_10;
    }

    public static int getP9d_11() {
        return p9d_11;
    }

    public static void setP9d_11(int p9d_11) {
        LogicaAplicacion.p9d_11 = p9d_11;
    }

    public static int getP9d_12() {
        return p9d_12;
    }

    public static void setP9d_12(int p9d_12) {
        LogicaAplicacion.p9d_12 = p9d_12;
    }

    public static int getP9e_1() {
        return p9e_1;
    }

    public static void setP9e_1(int p9e_1) {
        LogicaAplicacion.p9e_1 = p9e_1;
    }

    public static int getP9e_2() {
        return p9e_2;
    }

    public static void setP9e_2(int p9e_2) {
        LogicaAplicacion.p9e_2 = p9e_2;
    }

    public static int getP9e_3() {
        return p9e_3;
    }

    public static void setP9e_3(int p9e_3) {
        LogicaAplicacion.p9e_3 = p9e_3;
    }

    public static int getP9e_4() {
        return p9e_4;
    }

    public static void setP9e_4(int p9e_4) {
        LogicaAplicacion.p9e_4 = p9e_4;
    }

    public static int getP9e_5() {
        return p9e_5;
    }

    public static void setP9e_5(int p9e_5) {
        LogicaAplicacion.p9e_5 = p9e_5;
    }

    public static int getP9e_6() {
        return p9e_6;
    }

    public static void setP9e_6(int p9e_6) {
        LogicaAplicacion.p9e_6 = p9e_6;
    }

    public static int getP9e_7() {
        return p9e_7;
    }

    public static void setP9e_7(int p9e_7) {
        LogicaAplicacion.p9e_7 = p9e_7;
    }

    public static int getP9e_8() {
        return p9e_8;
    }

    public static void setP9e_8(int p9e_8) {
        LogicaAplicacion.p9e_8 = p9e_8;
    }

    public static int getP9e_9() {
        return p9e_9;
    }

    public static void setP9e_9(int p9e_9) {
        LogicaAplicacion.p9e_9 = p9e_9;
    }

    public static int getP9e_10() {
        return p9e_10;
    }

    public static void setP9e_10(int p9e_10) {
        LogicaAplicacion.p9e_10 = p9e_10;
    }

    public static int getP9e_11() {
        return p9e_11;
    }

    public static void setP9e_11(int p9e_11) {
        LogicaAplicacion.p9e_11 = p9e_11;
    }

    public static int getP9e_12() {
        return p9e_12;
    }

    public static void setP9e_12(int p9e_12) {
        LogicaAplicacion.p9e_12 = p9e_12;
    }

    public static int getP9f_1() {
        return p9f_1;
    }

    public static void setP9f_1(int p9f_1) {
        LogicaAplicacion.p9f_1 = p9f_1;
    }

    public static int getP9f_2() {
        return p9f_2;
    }

    public static void setP9f_2(int p9f_2) {
        LogicaAplicacion.p9f_2 = p9f_2;
    }

    public static int getP9f_3() {
        return p9f_3;
    }

    public static void setP9f_3(int p9f_3) {
        LogicaAplicacion.p9f_3 = p9f_3;
    }

    public static int getP9f_4() {
        return p9f_4;
    }

    public static void setP9f_4(int p9f_4) {
        LogicaAplicacion.p9f_4 = p9f_4;
    }

    public static int getP9f_5() {
        return p9f_5;
    }

    public static void setP9f_5(int p9f_5) {
        LogicaAplicacion.p9f_5 = p9f_5;
    }

    public static int getP9f_6() {
        return p9f_6;
    }

    public static void setP9f_6(int p9f_6) {
        LogicaAplicacion.p9f_6 = p9f_6;
    }

    public static int getP9f_7() {
        return p9f_7;
    }

    public static void setP9f_7(int p9f_7) {
        LogicaAplicacion.p9f_7 = p9f_7;
    }

    public static int getP9f_8() {
        return p9f_8;
    }

    public static void setP9f_8(int p9f_8) {
        LogicaAplicacion.p9f_8 = p9f_8;
    }

    public static int getP9f_9() {
        return p9f_9;
    }

    public static void setP9f_9(int p9f_9) {
        LogicaAplicacion.p9f_9 = p9f_9;
    }

    public static int getP9f_10() {
        return p9f_10;
    }

    public static void setP9f_10(int p9f_10) {
        LogicaAplicacion.p9f_10 = p9f_10;
    }

    public static int getP9f_11() {
        return p9f_11;
    }

    public static void setP9f_11(int p9f_11) {
        LogicaAplicacion.p9f_11 = p9f_11;
    }

    public static int getP9f_12() {
        return p9f_12;
    }

    public static void setP9f_12(int p9f_12) {
        LogicaAplicacion.p9f_12 = p9f_12;
    }

    public static int getP10t() {
        return p10t;
    }

    public static void setP10t(int p10t) {
        LogicaAplicacion.p10t = p10t;
    }

    public static int getP10_c1() {
        return p10_c1;
    }

    public static void setP10_c1(int p10_c1) {
        LogicaAplicacion.p10_c1 = p10_c1;
    }

    public static int getP10_c2() {
        return p10_c2;
    }

    public static void setP10_c2(int p10_c2) {
        LogicaAplicacion.p10_c2 = p10_c2;
    }

    public static int getP10_c3() {
        return p10_c3;
    }

    public static void setP10_c3(int p10_c3) {
        LogicaAplicacion.p10_c3 = p10_c3;
    }

    public static int getP10_c4() {
        return p10_c4;
    }

    public static void setP10_c4(int p10_c4) {
        LogicaAplicacion.p10_c4 = p10_c4;
    }

    public static int getP10_c5() {
        return p10_c5;
    }

    public static void setP10_c5(int p10_c5) {
        LogicaAplicacion.p10_c5 = p10_c5;
    }

    public static int getP10_c6() {
        return p10_c6;
    }

    public static void setP10_c6(int p10_c6) {
        LogicaAplicacion.p10_c6 = p10_c6;
    }

    public static int getP10_f1() {
        return p10_f1;
    }

    public static void setP10_f1(int p10_f1) {
        LogicaAplicacion.p10_f1 = p10_f1;
    }

    public static int getP10_f2() {
        return p10_f2;
    }

    public static void setP10_f2(int p10_f2) {
        LogicaAplicacion.p10_f2 = p10_f2;
    }

    public static int getP10_f3() {
        return p10_f3;
    }

    public static void setP10_f3(int p10_f3) {
        LogicaAplicacion.p10_f3 = p10_f3;
    }

    public static int getP10_f4() {
        return p10_f4;
    }

    public static void setP10_f4(int p10_f4) {
        LogicaAplicacion.p10_f4 = p10_f4;
    }

    public static int getP10_f5() {
        return p10_f5;
    }

    public static void setP10_f5(int p10_f5) {
        LogicaAplicacion.p10_f5 = p10_f5;
    }

    public static int getP10_f6() {
        return p10_f6;
    }

    public static void setP10_f6(int p10_f6) {
        LogicaAplicacion.p10_f6 = p10_f6;
    }

    public static int getP10_f7() {
        return p10_f7;
    }

    public static void setP10_f7(int p10_f7) {
        LogicaAplicacion.p10_f7 = p10_f7;
    }

    public static int getP10_f8() {
        return p10_f8;
    }

    public static void setP10_f8(int p10_f8) {
        LogicaAplicacion.p10_f8 = p10_f8;
    }

    public static int getP10_f9() {
        return p10_f9;
    }

    public static void setP10_f9(int p10_f9) {
        LogicaAplicacion.p10_f9 = p10_f9;
    }

    public static int getP10a_1() {
        return p10a_1;
    }

    public static void setP10a_1(int p10a_1) {
        LogicaAplicacion.p10a_1 = p10a_1;
    }

    public static int getP10a_2() {
        return p10a_2;
    }

    public static void setP10a_2(int p10a_2) {
        LogicaAplicacion.p10a_2 = p10a_2;
    }

    public static int getP10a_3() {
        return p10a_3;
    }

    public static void setP10a_3(int p10a_3) {
        LogicaAplicacion.p10a_3 = p10a_3;
    }

    public static int getP10a_4() {
        return p10a_4;
    }

    public static void setP10a_4(int p10a_4) {
        LogicaAplicacion.p10a_4 = p10a_4;
    }

    public static int getP10a_5() {
        return p10a_5;
    }

    public static void setP10a_5(int p10a_5) {
        LogicaAplicacion.p10a_5 = p10a_5;
    }

    public static int getP10a_6() {
        return p10a_6;
    }

    public static void setP10a_6(int p10a_6) {
        LogicaAplicacion.p10a_6 = p10a_6;
    }

    public static int getP10a_7() {
        return p10a_7;
    }

    public static void setP10a_7(int p10a_7) {
        LogicaAplicacion.p10a_7 = p10a_7;
    }

    public static int getP10a_8() {
        return p10a_8;
    }

    public static void setP10a_8(int p10a_8) {
        LogicaAplicacion.p10a_8 = p10a_8;
    }

    public static int getP10a_9() {
        return p10a_9;
    }

    public static void setP10a_9(int p10a_9) {
        LogicaAplicacion.p10a_9 = p10a_9;
    }

    public static int getP10b_1() {
        return p10b_1;
    }

    public static void setP10b_1(int p10b_1) {
        LogicaAplicacion.p10b_1 = p10b_1;
    }

    public static int getP10b_2() {
        return p10b_2;
    }

    public static void setP10b_2(int p10b_2) {
        LogicaAplicacion.p10b_2 = p10b_2;
    }

    public static int getP10b_3() {
        return p10b_3;
    }

    public static void setP10b_3(int p10b_3) {
        LogicaAplicacion.p10b_3 = p10b_3;
    }

    public static int getP10b_4() {
        return p10b_4;
    }

    public static void setP10b_4(int p10b_4) {
        LogicaAplicacion.p10b_4 = p10b_4;
    }

    public static int getP10b_5() {
        return p10b_5;
    }

    public static void setP10b_5(int p10b_5) {
        LogicaAplicacion.p10b_5 = p10b_5;
    }

    public static int getP10b_6() {
        return p10b_6;
    }

    public static void setP10b_6(int p10b_6) {
        LogicaAplicacion.p10b_6 = p10b_6;
    }

    public static int getP10b_7() {
        return p10b_7;
    }

    public static void setP10b_7(int p10b_7) {
        LogicaAplicacion.p10b_7 = p10b_7;
    }

    public static int getP10b_8() {
        return p10b_8;
    }

    public static void setP10b_8(int p10b_8) {
        LogicaAplicacion.p10b_8 = p10b_8;
    }

    public static int getP10b_9() {
        return p10b_9;
    }

    public static void setP10b_9(int p10b_9) {
        LogicaAplicacion.p10b_9 = p10b_9;
    }

    public static int getP10c_1() {
        return p10c_1;
    }

    public static void setP10c_1(int p10c_1) {
        LogicaAplicacion.p10c_1 = p10c_1;
    }

    public static int getP10c_2() {
        return p10c_2;
    }

    public static void setP10c_2(int p10c_2) {
        LogicaAplicacion.p10c_2 = p10c_2;
    }

    public static int getP10c_3() {
        return p10c_3;
    }

    public static void setP10c_3(int p10c_3) {
        LogicaAplicacion.p10c_3 = p10c_3;
    }

    public static int getP10c_4() {
        return p10c_4;
    }

    public static void setP10c_4(int p10c_4) {
        LogicaAplicacion.p10c_4 = p10c_4;
    }

    public static int getP10c_5() {
        return p10c_5;
    }

    public static void setP10c_5(int p10c_5) {
        LogicaAplicacion.p10c_5 = p10c_5;
    }

    public static int getP10c_6() {
        return p10c_6;
    }

    public static void setP10c_6(int p10c_6) {
        LogicaAplicacion.p10c_6 = p10c_6;
    }

    public static int getP10c_7() {
        return p10c_7;
    }

    public static void setP10c_7(int p10c_7) {
        LogicaAplicacion.p10c_7 = p10c_7;
    }

    public static int getP10c_8() {
        return p10c_8;
    }

    public static void setP10c_8(int p10c_8) {
        LogicaAplicacion.p10c_8 = p10c_8;
    }

    public static int getP10c_9() {
        return p10c_9;
    }

    public static void setP10c_9(int p10c_9) {
        LogicaAplicacion.p10c_9 = p10c_9;
    }

    public static int getP10d_1() {
        return p10d_1;
    }

    public static void setP10d_1(int p10d_1) {
        LogicaAplicacion.p10d_1 = p10d_1;
    }

    public static int getP10d_2() {
        return p10d_2;
    }

    public static void setP10d_2(int p10d_2) {
        LogicaAplicacion.p10d_2 = p10d_2;
    }

    public static int getP10d_3() {
        return p10d_3;
    }

    public static void setP10d_3(int p10d_3) {
        LogicaAplicacion.p10d_3 = p10d_3;
    }

    public static int getP10d_4() {
        return p10d_4;
    }

    public static void setP10d_4(int p10d_4) {
        LogicaAplicacion.p10d_4 = p10d_4;
    }

    public static int getP10d_5() {
        return p10d_5;
    }

    public static void setP10d_5(int p10d_5) {
        LogicaAplicacion.p10d_5 = p10d_5;
    }

    public static int getP10d_6() {
        return p10d_6;
    }

    public static void setP10d_6(int p10d_6) {
        LogicaAplicacion.p10d_6 = p10d_6;
    }

    public static int getP10d_7() {
        return p10d_7;
    }

    public static void setP10d_7(int p10d_7) {
        LogicaAplicacion.p10d_7 = p10d_7;
    }

    public static int getP10d_8() {
        return p10d_8;
    }

    public static void setP10d_8(int p10d_8) {
        LogicaAplicacion.p10d_8 = p10d_8;
    }

    public static int getP10d_9() {
        return p10d_9;
    }

    public static void setP10d_9(int p10d_9) {
        LogicaAplicacion.p10d_9 = p10d_9;
    }

    public static int getP10e_1() {
        return p10e_1;
    }

    public static void setP10e_1(int p10e_1) {
        LogicaAplicacion.p10e_1 = p10e_1;
    }

    public static int getP10e_2() {
        return p10e_2;
    }

    public static void setP10e_2(int p10e_2) {
        LogicaAplicacion.p10e_2 = p10e_2;
    }

    public static int getP10e_3() {
        return p10e_3;
    }

    public static void setP10e_3(int p10e_3) {
        LogicaAplicacion.p10e_3 = p10e_3;
    }

    public static int getP10e_4() {
        return p10e_4;
    }

    public static void setP10e_4(int p10e_4) {
        LogicaAplicacion.p10e_4 = p10e_4;
    }

    public static int getP10e_5() {
        return p10e_5;
    }

    public static void setP10e_5(int p10e_5) {
        LogicaAplicacion.p10e_5 = p10e_5;
    }

    public static int getP10e_6() {
        return p10e_6;
    }

    public static void setP10e_6(int p10e_6) {
        LogicaAplicacion.p10e_6 = p10e_6;
    }

    public static int getP10e_7() {
        return p10e_7;
    }

    public static void setP10e_7(int p10e_7) {
        LogicaAplicacion.p10e_7 = p10e_7;
    }

    public static int getP10e_8() {
        return p10e_8;
    }

    public static void setP10e_8(int p10e_8) {
        LogicaAplicacion.p10e_8 = p10e_8;
    }

    public static int getP10e_9() {
        return p10e_9;
    }

    public static void setP10e_9(int p10e_9) {
        LogicaAplicacion.p10e_9 = p10e_9;
    }

    public static int getP10f_1() {
        return p10f_1;
    }

    public static void setP10f_1(int p10f_1) {
        LogicaAplicacion.p10f_1 = p10f_1;
    }

    public static int getP10f_2() {
        return p10f_2;
    }

    public static void setP10f_2(int p10f_2) {
        LogicaAplicacion.p10f_2 = p10f_2;
    }

    public static int getP10f_3() {
        return p10f_3;
    }

    public static void setP10f_3(int p10f_3) {
        LogicaAplicacion.p10f_3 = p10f_3;
    }

    public static int getP10f_4() {
        return p10f_4;
    }

    public static void setP10f_4(int p10f_4) {
        LogicaAplicacion.p10f_4 = p10f_4;
    }

    public static int getP10f_5() {
        return p10f_5;
    }

    public static void setP10f_5(int p10f_5) {
        LogicaAplicacion.p10f_5 = p10f_5;
    }

    public static int getP10f_6() {
        return p10f_6;
    }

    public static void setP10f_6(int p10f_6) {
        LogicaAplicacion.p10f_6 = p10f_6;
    }

    public static int getP10f_7() {
        return p10f_7;
    }

    public static void setP10f_7(int p10f_7) {
        LogicaAplicacion.p10f_7 = p10f_7;
    }

    public static int getP10f_8() {
        return p10f_8;
    }

    public static void setP10f_8(int p10f_8) {
        LogicaAplicacion.p10f_8 = p10f_8;
    }

    public static int getP10f_9() {
        return p10f_9;
    }

    public static void setP10f_9(int p10f_9) {
        LogicaAplicacion.p10f_9 = p10f_9;
    }

    public static String getInsertDinamico() {
        return insertDinamico;
    }

    public static void setInsertDinamico(String insertDinamico) {
        LogicaAplicacion.insertDinamico = insertDinamico;
    }

    public static String getCabeceraInsert() {
        return cabeceraInsert;
    }

    public static void setCabeceraInsert(String cabeceraInsert) {
        LogicaAplicacion.cabeceraInsert = cabeceraInsert;
    }

    public static String getColaIntsert() {
        return colaIntsert;
    }

    public static void setColaIntsert(String colaIntsert) {
        LogicaAplicacion.colaIntsert = colaIntsert;
    }

    public static String getMedularString() {
        return medularString;
    }

    public static void setMedularString(String medularString) {
        LogicaAplicacion.medularString = medularString;
    }

    public static String getPrimerosValores() {
        return primerosValores;
    }

    public static void setPrimerosValores(String primerosValores) {
        LogicaAplicacion.primerosValores = primerosValores;
    }

    public static String getValoresFinales() {
        return valoresFinales;
    }

    public static void setValoresFinales(String valoresFinales) {
        LogicaAplicacion.valoresFinales = valoresFinales;
    }

    public static String getValoresMedulares() {
        return valoresMedulares;
    }

    public static void setValoresMedulares(String valoresMedulares) {
        LogicaAplicacion.valoresMedulares = valoresMedulares;
    }
    
    private static int p11ct = 0;
    private static int p11c_c1 = 0;
    private static int p11c_c2 = 0;
    private static int p11c_c3 = 0;
    private static int p11c_c4 = 0;
    private static int p11c_c5 = 0;
    private static int p11c_c6 = 0;
    private static int p11c_f1 = 0;
    private static int p11c_f2 = 0;
    private static int p11c_f4 = 0;
    private static int p11c_f5 = 0;
    private static int p11c_f6 = 0;
    private static int p11c_f7 = 0;
    private static int p11c_f8 = 0;
    private static int p11c_f9 = 0;
    private static int p11c_f10 = 0;
    private static int p11c_f11 = 0;
    private static int p11c_f11_N = 0;
    private static int p11ca_1 = 0;
    private static int p11ca_2 = 0;
    private static int p11ca_4 = 0;
    private static int p11ca_5 = 0;
    private static int p11ca_6 = 0;
    private static int p11ca_7 = 0;
    private static int p11ca_8 = 0;
    private static int p11ca_9 = 0;
    private static int p11ca_10 = 0;
    private static int p11ca_11 = 0;
    private static int p11cb_1 = 0;
    private static int p11cb_2 = 0;
    private static int p11cb_4 = 0;
    private static int p11cb_5 = 0;
    private static int p11cb_6 = 0;
    private static int p11cb_7 = 0;
    private static int p11cb_8 = 0;
    private static int p11cb_9 = 0;
    private static int p11cb_10 = 0;
    private static int p11cb_11 = 0;
    private static int p11cc_1 = 0;
    private static int p11cc_2 = 0;
    private static int p11cc_4 = 0;
    private static int p11cc_5 = 0;
    private static int p11cc_6 = 0;
    private static int p11cc_7 = 0;
    private static int p11cc_8 = 0;
    private static int p11cc_9 = 0;
    private static int p11cc_10 = 0;
    private static int p11cc_11 = 0;
    private static int p11cd_1 = 0;
    private static int p11cd_2 = 0;
    private static int p11cd_4 = 0;
    private static int p11cd_5 = 0;
    private static int p11cd_6 = 0;
    private static int p11cd_7 = 0;
    private static int p11cd_8 = 0;
    private static int p11cd_9 = 0;
    private static int p11cd_10 = 0;
    private static int p11cd_11 = 0;
    private static int p11ce_1 = 0;
    private static int p11ce_2 = 0;
    private static int p11ce_4 = 0;
    private static int p11ce_5 = 0;
    private static int p11ce_6 = 0;
    private static int p11ce_7 = 0;
    private static int p11ce_8 = 0;
    private static int p11ce_9 = 0;
    private static int p11ce_10 = 0;
    private static int p11ce_11 = 0;

    public static int getP11ct() {
        return p11ct;
    }

    public static void setP11ct(int p11ct) {
        LogicaAplicacion.p11ct = p11ct;
    }

    public static int getP11c_c1() {
        return p11c_c1;
    }

    public static void setP11c_c1(int p11c_c1) {
        LogicaAplicacion.p11c_c1 = p11c_c1;
    }

    public static int getP11c_c2() {
        return p11c_c2;
    }

    public static void setP11c_c2(int p11c_c2) {
        LogicaAplicacion.p11c_c2 = p11c_c2;
    }

    public static int getP11c_c3() {
        return p11c_c3;
    }

    public static void setP11c_c3(int p11c_c3) {
        LogicaAplicacion.p11c_c3 = p11c_c3;
    }

    public static int getP11c_c4() {
        return p11c_c4;
    }

    public static void setP11c_c4(int p11c_c4) {
        LogicaAplicacion.p11c_c4 = p11c_c4;
    }

    public static int getP11c_c5() {
        return p11c_c5;
    }

    public static void setP11c_c5(int p11c_c5) {
        LogicaAplicacion.p11c_c5 = p11c_c5;
    }

    public static int getP11c_c6() {
        return p11c_c6;
    }

    public static void setP11c_c6(int p11c_c6) {
        LogicaAplicacion.p11c_c6 = p11c_c6;
    }

    public static int getP11c_f1() {
        return p11c_f1;
    }

    public static void setP11c_f1(int p11c_f1) {
        LogicaAplicacion.p11c_f1 = p11c_f1;
    }

    public static int getP11c_f2() {
        return p11c_f2;
    }

    public static void setP11c_f2(int p11c_f2) {
        LogicaAplicacion.p11c_f2 = p11c_f2;
    }

    public static int getP11c_f4() {
        return p11c_f4;
    }

    public static void setP11c_f4(int p11c_f4) {
        LogicaAplicacion.p11c_f4 = p11c_f4;
    }

    public static int getP11c_f5() {
        return p11c_f5;
    }

    public static void setP11c_f5(int p11c_f5) {
        LogicaAplicacion.p11c_f5 = p11c_f5;
    }

    public static int getP11c_f6() {
        return p11c_f6;
    }

    public static void setP11c_f6(int p11c_f6) {
        LogicaAplicacion.p11c_f6 = p11c_f6;
    }

    public static int getP11c_f7() {
        return p11c_f7;
    }

    public static void setP11c_f7(int p11c_f7) {
        LogicaAplicacion.p11c_f7 = p11c_f7;
    }

    public static int getP11c_f8() {
        return p11c_f8;
    }

    public static void setP11c_f8(int p11c_f8) {
        LogicaAplicacion.p11c_f8 = p11c_f8;
    }

    public static int getP11c_f9() {
        return p11c_f9;
    }

    public static void setP11c_f9(int p11c_f9) {
        LogicaAplicacion.p11c_f9 = p11c_f9;
    }

    public static int getP11c_f10() {
        return p11c_f10;
    }

    public static void setP11c_f10(int p11c_f10) {
        LogicaAplicacion.p11c_f10 = p11c_f10;
    }

    public static int getP11c_f11() {
        return p11c_f11;
    }

    public static void setP11c_f11(int p11c_f11) {
        LogicaAplicacion.p11c_f11 = p11c_f11;
    }

    public static int getP11c_f11_N() {
        return p11c_f11_N;
    }

    public static void setP11c_f11_N(int p11c_f11_N) {
        LogicaAplicacion.p11c_f11_N = p11c_f11_N;
    }

    public static int getP11ca_1() {
        return p11ca_1;
    }

    public static void setP11ca_1(int p11ca_1) {
        LogicaAplicacion.p11ca_1 = p11ca_1;
    }

    public static int getP11ca_2() {
        return p11ca_2;
    }

    public static void setP11ca_2(int p11ca_2) {
        LogicaAplicacion.p11ca_2 = p11ca_2;
    }

    public static int getP11ca_4() {
        return p11ca_4;
    }

    public static void setP11ca_4(int p11ca_4) {
        LogicaAplicacion.p11ca_4 = p11ca_4;
    }

    public static int getP11ca_5() {
        return p11ca_5;
    }

    public static void setP11ca_5(int p11ca_5) {
        LogicaAplicacion.p11ca_5 = p11ca_5;
    }

    public static int getP11ca_6() {
        return p11ca_6;
    }

    public static void setP11ca_6(int p11ca_6) {
        LogicaAplicacion.p11ca_6 = p11ca_6;
    }

    public static int getP11ca_7() {
        return p11ca_7;
    }

    public static void setP11ca_7(int p11ca_7) {
        LogicaAplicacion.p11ca_7 = p11ca_7;
    }

    public static int getP11ca_8() {
        return p11ca_8;
    }

    public static void setP11ca_8(int p11ca_8) {
        LogicaAplicacion.p11ca_8 = p11ca_8;
    }

    public static int getP11ca_9() {
        return p11ca_9;
    }

    public static void setP11ca_9(int p11ca_9) {
        LogicaAplicacion.p11ca_9 = p11ca_9;
    }

    public static int getP11ca_10() {
        return p11ca_10;
    }

    public static void setP11ca_10(int p11ca_10) {
        LogicaAplicacion.p11ca_10 = p11ca_10;
    }

    public static int getP11ca_11() {
        return p11ca_11;
    }

    public static void setP11ca_11(int p11ca_11) {
        LogicaAplicacion.p11ca_11 = p11ca_11;
    }

    public static int getP11cb_1() {
        return p11cb_1;
    }

    public static void setP11cb_1(int p11cb_1) {
        LogicaAplicacion.p11cb_1 = p11cb_1;
    }

    public static int getP11cb_2() {
        return p11cb_2;
    }

    public static void setP11cb_2(int p11cb_2) {
        LogicaAplicacion.p11cb_2 = p11cb_2;
    }

    public static int getP11cb_4() {
        return p11cb_4;
    }

    public static void setP11cb_4(int p11cb_4) {
        LogicaAplicacion.p11cb_4 = p11cb_4;
    }

    public static int getP11cb_5() {
        return p11cb_5;
    }

    public static void setP11cb_5(int p11cb_5) {
        LogicaAplicacion.p11cb_5 = p11cb_5;
    }

    public static int getP11cb_6() {
        return p11cb_6;
    }

    public static void setP11cb_6(int p11cb_6) {
        LogicaAplicacion.p11cb_6 = p11cb_6;
    }

    public static int getP11cb_7() {
        return p11cb_7;
    }

    public static void setP11cb_7(int p11cb_7) {
        LogicaAplicacion.p11cb_7 = p11cb_7;
    }

    public static int getP11cb_8() {
        return p11cb_8;
    }

    public static void setP11cb_8(int p11cb_8) {
        LogicaAplicacion.p11cb_8 = p11cb_8;
    }

    public static int getP11cb_9() {
        return p11cb_9;
    }

    public static void setP11cb_9(int p11cb_9) {
        LogicaAplicacion.p11cb_9 = p11cb_9;
    }

    public static int getP11cb_10() {
        return p11cb_10;
    }

    public static void setP11cb_10(int p11cb_10) {
        LogicaAplicacion.p11cb_10 = p11cb_10;
    }

    public static int getP11cb_11() {
        return p11cb_11;
    }

    public static void setP11cb_11(int p11cb_11) {
        LogicaAplicacion.p11cb_11 = p11cb_11;
    }

    public static int getP11cc_1() {
        return p11cc_1;
    }

    public static void setP11cc_1(int p11cc_1) {
        LogicaAplicacion.p11cc_1 = p11cc_1;
    }

    public static int getP11cc_2() {
        return p11cc_2;
    }

    public static void setP11cc_2(int p11cc_2) {
        LogicaAplicacion.p11cc_2 = p11cc_2;
    }

    public static int getP11cc_4() {
        return p11cc_4;
    }

    public static void setP11cc_4(int p11cc_4) {
        LogicaAplicacion.p11cc_4 = p11cc_4;
    }

    public static int getP11cc_5() {
        return p11cc_5;
    }

    public static void setP11cc_5(int p11cc_5) {
        LogicaAplicacion.p11cc_5 = p11cc_5;
    }

    public static int getP11cc_6() {
        return p11cc_6;
    }

    public static void setP11cc_6(int p11cc_6) {
        LogicaAplicacion.p11cc_6 = p11cc_6;
    }

    public static int getP11cc_7() {
        return p11cc_7;
    }

    public static void setP11cc_7(int p11cc_7) {
        LogicaAplicacion.p11cc_7 = p11cc_7;
    }

    public static int getP11cc_8() {
        return p11cc_8;
    }

    public static void setP11cc_8(int p11cc_8) {
        LogicaAplicacion.p11cc_8 = p11cc_8;
    }

    public static int getP11cc_9() {
        return p11cc_9;
    }

    public static void setP11cc_9(int p11cc_9) {
        LogicaAplicacion.p11cc_9 = p11cc_9;
    }

    public static int getP11cc_10() {
        return p11cc_10;
    }

    public static void setP11cc_10(int p11cc_10) {
        LogicaAplicacion.p11cc_10 = p11cc_10;
    }

    public static int getP11cc_11() {
        return p11cc_11;
    }

    public static void setP11cc_11(int p11cc_11) {
        LogicaAplicacion.p11cc_11 = p11cc_11;
    }

    public static int getP11cd_1() {
        return p11cd_1;
    }

    public static void setP11cd_1(int p11cd_1) {
        LogicaAplicacion.p11cd_1 = p11cd_1;
    }

    public static int getP11cd_2() {
        return p11cd_2;
    }

    public static void setP11cd_2(int p11cd_2) {
        LogicaAplicacion.p11cd_2 = p11cd_2;
    }

    public static int getP11cd_4() {
        return p11cd_4;
    }

    public static void setP11cd_4(int p11cd_4) {
        LogicaAplicacion.p11cd_4 = p11cd_4;
    }

    public static int getP11cd_5() {
        return p11cd_5;
    }

    public static void setP11cd_5(int p11cd_5) {
        LogicaAplicacion.p11cd_5 = p11cd_5;
    }

    public static int getP11cd_6() {
        return p11cd_6;
    }

    public static void setP11cd_6(int p11cd_6) {
        LogicaAplicacion.p11cd_6 = p11cd_6;
    }

    public static int getP11cd_7() {
        return p11cd_7;
    }

    public static void setP11cd_7(int p11cd_7) {
        LogicaAplicacion.p11cd_7 = p11cd_7;
    }

    public static int getP11cd_8() {
        return p11cd_8;
    }

    public static void setP11cd_8(int p11cd_8) {
        LogicaAplicacion.p11cd_8 = p11cd_8;
    }

    public static int getP11cd_9() {
        return p11cd_9;
    }

    public static void setP11cd_9(int p11cd_9) {
        LogicaAplicacion.p11cd_9 = p11cd_9;
    }

    public static int getP11cd_10() {
        return p11cd_10;
    }

    public static void setP11cd_10(int p11cd_10) {
        LogicaAplicacion.p11cd_10 = p11cd_10;
    }

    public static int getP11cd_11() {
        return p11cd_11;
    }

    public static void setP11cd_11(int p11cd_11) {
        LogicaAplicacion.p11cd_11 = p11cd_11;
    }

    public static int getP11ce_1() {
        return p11ce_1;
    }

    public static void setP11ce_1(int p11ce_1) {
        LogicaAplicacion.p11ce_1 = p11ce_1;
    }

    public static int getP11ce_2() {
        return p11ce_2;
    }

    public static void setP11ce_2(int p11ce_2) {
        LogicaAplicacion.p11ce_2 = p11ce_2;
    }

    public static int getP11ce_4() {
        return p11ce_4;
    }

    public static void setP11ce_4(int p11ce_4) {
        LogicaAplicacion.p11ce_4 = p11ce_4;
    }

    public static int getP11ce_5() {
        return p11ce_5;
    }

    public static void setP11ce_5(int p11ce_5) {
        LogicaAplicacion.p11ce_5 = p11ce_5;
    }

    public static int getP11ce_6() {
        return p11ce_6;
    }

    public static void setP11ce_6(int p11ce_6) {
        LogicaAplicacion.p11ce_6 = p11ce_6;
    }

    public static int getP11ce_7() {
        return p11ce_7;
    }

    public static void setP11ce_7(int p11ce_7) {
        LogicaAplicacion.p11ce_7 = p11ce_7;
    }

    public static int getP11ce_8() {
        return p11ce_8;
    }

    public static void setP11ce_8(int p11ce_8) {
        LogicaAplicacion.p11ce_8 = p11ce_8;
    }

    public static int getP11ce_9() {
        return p11ce_9;
    }

    public static void setP11ce_9(int p11ce_9) {
        LogicaAplicacion.p11ce_9 = p11ce_9;
    }

    public static int getP11ce_10() {
        return p11ce_10;
    }

    public static void setP11ce_10(int p11ce_10) {
        LogicaAplicacion.p11ce_10 = p11ce_10;
    }

    public static int getP11ce_11() {
        return p11ce_11;
    }

    public static void setP11ce_11(int p11ce_11) {
        LogicaAplicacion.p11ce_11 = p11ce_11;
    }
    
    private static int p9_f1 = 0;
    private static int p9_f2 = 0;
    private static int p9_f3 = 0;
    private static int p9_f4 = 0;
    private static int p9_f5 = 0;
    private static int p9_f6 = 0;
    private static int p9_f7 = 0;
    private static int p9_f8 = 0;
    private static int p9_f9 = 0;
    private static int p9_f10 = 0;
    private static int p9_f11 = 0;
    private static int p9_f12 = 0;
    private static int p9_f12_N = 0;
    
    private static int p9a_1 = 0;
    private static int p9a_2 = 0;
    private static int p9a_3 = 0;
    private static int p9a_4 = 0;
    private static int p9a_5 = 0;
    private static int p9a_6 = 0;
    private static int p9a_7 = 0;
    private static int p9a_8 = 0;
    private static int p9a_9 = 0;
    private static int p9a_10 = 0;
    private static int p9a_11 = 0;
    private static int p9a_12 = 0;
    
    private static int p9b_1 = 0;
    private static int p9b_2 = 0;
    private static int p9b_3 = 0;
    private static int p9b_4 = 0;
    private static int p9b_5 = 0;
    private static int p9b_6 = 0;
    private static int p9b_7 = 0;
    private static int p9b_8 = 0;
    private static int p9b_9 = 0;
    private static int p9b_10 = 0;
    private static int p9b_11 = 0;
    private static int p9b_12 = 0;
    
    private static int p9c_1 = 0;
    private static int p9c_2 = 0;
    private static int p9c_3 = 0;
    private static int p9c_4 = 0;
    private static int p9c_5 = 0;
    private static int p9c_6 = 0;
    private static int p9c_7 = 0;
    private static int p9c_8 = 0;
    private static int p9c_9 = 0;
    private static int p9c_10 = 0;
    private static int p9c_11 = 0;
    private static int p9c_12 = 0;
    
    private static int p9d_1 = 0;
    private static int p9d_2 = 0;
    private static int p9d_3 = 0;
    private static int p9d_4 = 0;
    private static int p9d_5 = 0;
    private static int p9d_6 = 0;
    private static int p9d_7 = 0;
    private static int p9d_8 = 0;
    private static int p9d_9 = 0;
    private static int p9d_10 = 0;
    private static int p9d_11 = 0;
    private static int p9d_12 = 0;
    
    private static int p9e_1 = 0;
    private static int p9e_2 = 0;
    private static int p9e_3 = 0;
    private static int p9e_4 = 0;
    private static int p9e_5 = 0;
    private static int p9e_6 = 0;
    private static int p9e_7 = 0;
    private static int p9e_8 = 0;
    private static int p9e_9 = 0;
    private static int p9e_10 = 0;
    private static int p9e_11 = 0;
    private static int p9e_12 = 0;
    
    private static int p9f_1 = 0;
    private static int p9f_2 = 0;
    private static int p9f_3 = 0;
    private static int p9f_4 = 0;
    private static int p9f_5 = 0;
    private static int p9f_6 = 0;
    private static int p9f_7 = 0;
    private static int p9f_8 = 0;
    private static int p9f_9 = 0;
    private static int p9f_10 = 0;
    private static int p9f_11 = 0;
    private static int p9f_12 = 0;
    
    private static int p10t = 0;
    
    private static int p10_c1 = 0;
    private static int p10_c2 = 0;
    private static int p10_c3 = 0;
    private static int p10_c4 = 0;
    private static int p10_c5 = 0;
    private static int p10_c6 = 0;
    
    private static int p10_f1 = 0;
    private static int p10_f2 = 0;
    private static int p10_f3 = 0;
    private static int p10_f4 = 0;
    private static int p10_f5 = 0;
    private static int p10_f6 = 0;
    private static int p10_f7 = 0;
    private static int p10_f8 = 0;
    private static int p10_f9 = 0;
    
    private static int p10a_1 = 0;
    private static int p10a_2 = 0;
    private static int p10a_3 = 0;
    private static int p10a_4 = 0;
    private static int p10a_5 = 0;
    private static int p10a_6 = 0;
    private static int p10a_7 = 0;
    private static int p10a_8 = 0;
    private static int p10a_9 = 0;
    
    private static int p10b_1 = 0;
    private static int p10b_2 = 0;
    private static int p10b_3 = 0;
    private static int p10b_4 = 0;
    private static int p10b_5 = 0;
    private static int p10b_6 = 0;
    private static int p10b_7 = 0;
    private static int p10b_8 = 0;
    private static int p10b_9 = 0;
    
    private static int p10c_1 = 0;
    private static int p10c_2 = 0;
    private static int p10c_3 = 0;
    private static int p10c_4 = 0;
    private static int p10c_5 = 0;
    private static int p10c_6 = 0;
    private static int p10c_7 = 0;
    private static int p10c_8 = 0;
    private static int p10c_9 = 0;
    
    private static int p10d_1 = 0;
    private static int p10d_2 = 0;
    private static int p10d_3 = 0;
    private static int p10d_4 = 0;
    private static int p10d_5 = 0;
    private static int p10d_6 = 0;
    private static int p10d_7 = 0;
    private static int p10d_8 = 0;
    private static int p10d_9 = 0;
    
    private static int p10e_1 = 0;
    private static int p10e_2 = 0;
    private static int p10e_3 = 0;
    private static int p10e_4 = 0;
    private static int p10e_5 = 0;
    private static int p10e_6 = 0;
    private static int p10e_7 = 0;
    private static int p10e_8 = 0;
    private static int p10e_9 = 0;
    
    private static int p10f_1 = 0;
    private static int p10f_2 = 0;
    private static int p10f_3 = 0;
    private static int p10f_4 = 0;
    private static int p10f_5 = 0;
    private static int p10f_6 = 0;
    private static int p10f_7 = 0;
    private static int p10f_8 = 0;
    private static int p10f_9 = 0;


    // Dial up
    
    private static int p11at = 0;
    private static int p11a_c1 = 0;
    private static int p11a_c2 = 0;
    private static int p11a_c3 = 0;
    private static int p11a_c4 = 0;
    private static int p11a_c5 = 0;
    private static int p11a_c6 = 0;

    public static int getP11at() {
        return p11at;
    }

    public static void setP11at(int p11at) {
        LogicaAplicacion.p11at = p11at;
    }

    public static int getP11a_c1() {
        return p11a_c1;
    }

    public static void setP11a_c1(int p11a_c1) {
        LogicaAplicacion.p11a_c1 = p11a_c1;
    }

    public static int getP11a_c2() {
        return p11a_c2;
    }

    public static void setP11a_c2(int p11a_c2) {
        LogicaAplicacion.p11a_c2 = p11a_c2;
    }

    public static int getP11a_c3() {
        return p11a_c3;
    }

    public static void setP11a_c3(int p11a_c3) {
        LogicaAplicacion.p11a_c3 = p11a_c3;
    }

    public static int getP11a_c4() {
        return p11a_c4;
    }

    public static void setP11a_c4(int p11a_c4) {
        LogicaAplicacion.p11a_c4 = p11a_c4;
    }

    public static int getP11a_c5() {
        return p11a_c5;
    }

    public static void setP11a_c5(int p11a_c5) {
        LogicaAplicacion.p11a_c5 = p11a_c5;
    }

    public static int getP11a_c6() {
        return p11a_c6;
    }

    public static void setP11a_c6(int p11a_c6) {
        LogicaAplicacion.p11a_c6 = p11a_c6;
    }
    
    
    private static int p11a_f1 = 0;
    private static int p11a_f2 = 0;
   // private static int p11a_f3 = 0;
    private static int p11a_f4 = 0;
    private static int p11a_f5 = 0;
    private static int p11a_f6 = 0;
    private static int p11a_f7 = 0;
    private static int p11a_f8 = 0;
    private static int p11a_f9 = 0;
    private static int p11a_f10 = 0;
    private static int p11a_f11 = 0;
    private static int p11a_f11_N = 0;

    public static int getP11a_f1() {
        return p11a_f1;
    }

    public static void setP11a_f1(int p11a_f1) {
        LogicaAplicacion.p11a_f1 = p11a_f1;
    }

    public static int getP11a_f2() {
        return p11a_f2;
    }

    public static void setP11a_f2(int p11a_f2) {
        LogicaAplicacion.p11a_f2 = p11a_f2;
    }

    public static int getP11a_f4() {
        return p11a_f4;
    }

    public static void setP11a_f4(int p11a_f4) {
        LogicaAplicacion.p11a_f4 = p11a_f4;
    }

    public static int getP11a_f5() {
        return p11a_f5;
    }

    public static void setP11a_f5(int p11a_f5) {
        LogicaAplicacion.p11a_f5 = p11a_f5;
    }

    public static int getP11a_f6() {
        return p11a_f6;
    }

    public static void setP11a_f6(int p11a_f6) {
        LogicaAplicacion.p11a_f6 = p11a_f6;
    }

    public static int getP11a_f7() {
        return p11a_f7;
    }

    public static void setP11a_f7(int p11a_f7) {
        LogicaAplicacion.p11a_f7 = p11a_f7;
    }

    public static int getP11a_f8() {
        return p11a_f8;
    }

    public static void setP11a_f8(int p11a_f8) {
        LogicaAplicacion.p11a_f8 = p11a_f8;
    }

    public static int getP11a_f9() {
        return p11a_f9;
    }

    public static void setP11a_f9(int p11a_f9) {
        LogicaAplicacion.p11a_f9 = p11a_f9;
    }

    public static int getP11a_f10() {
        return p11a_f10;
    }

    public static void setP11a_f10(int p11a_f10) {
        LogicaAplicacion.p11a_f10 = p11a_f10;
    }

    public static int getP11a_f11() {
        return p11a_f11;
    }

    public static void setP11a_f11(int p11a_f11) {
        LogicaAplicacion.p11a_f11 = p11a_f11;
    }

    public static int getP11a_f11_N() {
        return p11a_f11_N;
    }

    public static void setP11a_f11_N(int p11a_f11_N) {
        LogicaAplicacion.p11a_f11_N = p11a_f11_N;
    }
    
    private static int p11aa_1 = 0;
    private static int p11aa_2 = 0;
    //private static int p11aa_3 = 0;
    private static int p11aa_4 = 0;
    private static int p11aa_5 = 0;
    private static int p11aa_6 = 0;
    private static int p11aa_7 = 0;
    private static int p11aa_8 = 0;
    private static int p11aa_9 = 0;
    private static int p11aa_10 = 0;
    private static int p11aa_11 = 0;
    
    private static int p11ab_1 = 0;
    private static int p11ab_2 = 0;
   // private static int p11ab_3 = 0;
    private static int p11ab_4 = 0;
    private static int p11ab_5 = 0;
    private static int p11ab_6 = 0;
    private static int p11ab_7 = 0;
    private static int p11ab_8 = 0;
    private static int p11ab_9 = 0;
    private static int p11ab_10 = 0;
    private static int p11ab_11 = 0;
    
    private static int p11ac_1 = 0;
    private static int p11ac_2 = 0;
   // private static int p11ac_3 = 0;
    private static int p11ac_4 = 0;
    private static int p11ac_5 = 0;
    private static int p11ac_6 = 0;
    private static int p11ac_7 = 0;
    private static int p11ac_8 = 0;
    private static int p11ac_9 = 0;
    private static int p11ac_10 = 0;
    private static int p11ac_11 = 0;
    
    private static int p11ad_1 = 0;
    private static int p11ad_2 = 0;
   // private static int p11ad_3 = 0;
    private static int p11ad_4 = 0;
    private static int p11ad_5 = 0;
    private static int p11ad_6 = 0;
    private static int p11ad_7 = 0;
    private static int p11ad_8 = 0;
    private static int p11ad_9 = 0;
    private static int p11ad_10 = 0;
    private static int p11ad_11 = 0;
    
    private static int p11ae_1 = 0;
    private static int p11ae_2 = 0;
    //private static int p11ae_3 = 0;
    private static int p11ae_4 = 0;
    private static int p11ae_5 = 0;
    private static int p11ae_6 = 0;
    private static int p11ae_7 = 0;
    private static int p11ae_8 = 0;
    private static int p11ae_9 = 0;
    private static int p11ae_10 = 0;
    private static int p11ae_11 = 0;
    
    private static int p11af_1 = 0;
    private static int p11af_2 = 0;
    //private static int p11af_3 = 0;
    private static int p11af_4 = 0;
    private static int p11af_5 = 0;
    private static int p11af_6 = 0;
    private static int p11af_7 = 0;
    private static int p11af_8 = 0;
    private static int p11af_9 = 0;
    private static int p11af_10 = 0;
    private static int p11af_11 = 0;

    public static int getP11aa_1() {
        return p11aa_1;
    }

    public static void setP11aa_1(int p11aa_1) {
        LogicaAplicacion.p11aa_1 = p11aa_1;
    }

    public static int getP11aa_2() {
        return p11aa_2;
    }

    public static void setP11aa_2(int p11aa_2) {
        LogicaAplicacion.p11aa_2 = p11aa_2;
    }

    public static int getP11aa_4() {
        return p11aa_4;
    }

    public static void setP11aa_4(int p11aa_4) {
        LogicaAplicacion.p11aa_4 = p11aa_4;
    }

    public static int getP11aa_5() {
        return p11aa_5;
    }

    public static void setP11aa_5(int p11aa_5) {
        LogicaAplicacion.p11aa_5 = p11aa_5;
    }

    public static int getP11aa_6() {
        return p11aa_6;
    }

    public static void setP11aa_6(int p11aa_6) {
        LogicaAplicacion.p11aa_6 = p11aa_6;
    }

    public static int getP11aa_7() {
        return p11aa_7;
    }

    public static void setP11aa_7(int p11aa_7) {
        LogicaAplicacion.p11aa_7 = p11aa_7;
    }

    public static int getP11aa_8() {
        return p11aa_8;
    }

    public static void setP11aa_8(int p11aa_8) {
        LogicaAplicacion.p11aa_8 = p11aa_8;
    }

    public static int getP11aa_9() {
        return p11aa_9;
    }

    public static void setP11aa_9(int p11aa_9) {
        LogicaAplicacion.p11aa_9 = p11aa_9;
    }

    public static int getP11aa_10() {
        return p11aa_10;
    }

    public static void setP11aa_10(int p11aa_10) {
        LogicaAplicacion.p11aa_10 = p11aa_10;
    }

    public static int getP11aa_11() {
        return p11aa_11;
    }

    public static void setP11aa_11(int p11aa_11) {
        LogicaAplicacion.p11aa_11 = p11aa_11;
    }

    public static int getP11ab_1() {
        return p11ab_1;
    }

    public static void setP11ab_1(int p11ab_1) {
        LogicaAplicacion.p11ab_1 = p11ab_1;
    }

    public static int getP11ab_2() {
        return p11ab_2;
    }

    public static void setP11ab_2(int p11ab_2) {
        LogicaAplicacion.p11ab_2 = p11ab_2;
    }

    public static int getP11ab_4() {
        return p11ab_4;
    }

    public static void setP11ab_4(int p11ab_4) {
        LogicaAplicacion.p11ab_4 = p11ab_4;
    }

    public static int getP11ab_5() {
        return p11ab_5;
    }

    public static void setP11ab_5(int p11ab_5) {
        LogicaAplicacion.p11ab_5 = p11ab_5;
    }

    public static int getP11ab_6() {
        return p11ab_6;
    }

    public static void setP11ab_6(int p11ab_6) {
        LogicaAplicacion.p11ab_6 = p11ab_6;
    }

    public static int getP11ab_7() {
        return p11ab_7;
    }

    public static void setP11ab_7(int p11ab_7) {
        LogicaAplicacion.p11ab_7 = p11ab_7;
    }

    public static int getP11ab_8() {
        return p11ab_8;
    }

    public static void setP11ab_8(int p11ab_8) {
        LogicaAplicacion.p11ab_8 = p11ab_8;
    }

    public static int getP11ab_9() {
        return p11ab_9;
    }

    public static void setP11ab_9(int p11ab_9) {
        LogicaAplicacion.p11ab_9 = p11ab_9;
    }

    public static int getP11ab_10() {
        return p11ab_10;
    }

    public static void setP11ab_10(int p11ab_10) {
        LogicaAplicacion.p11ab_10 = p11ab_10;
    }

    public static int getP11ab_11() {
        return p11ab_11;
    }

    public static void setP11ab_11(int p11ab_11) {
        LogicaAplicacion.p11ab_11 = p11ab_11;
    }

    public static int getP11ac_1() {
        return p11ac_1;
    }

    public static void setP11ac_1(int p11ac_1) {
        LogicaAplicacion.p11ac_1 = p11ac_1;
    }

    public static int getP11ac_2() {
        return p11ac_2;
    }

    public static void setP11ac_2(int p11ac_2) {
        LogicaAplicacion.p11ac_2 = p11ac_2;
    }

    public static int getP11ac_4() {
        return p11ac_4;
    }

    public static void setP11ac_4(int p11ac_4) {
        LogicaAplicacion.p11ac_4 = p11ac_4;
    }

    public static int getP11ac_5() {
        return p11ac_5;
    }

    public static void setP11ac_5(int p11ac_5) {
        LogicaAplicacion.p11ac_5 = p11ac_5;
    }

    public static int getP11ac_6() {
        return p11ac_6;
    }

    public static void setP11ac_6(int p11ac_6) {
        LogicaAplicacion.p11ac_6 = p11ac_6;
    }

    public static int getP11ac_7() {
        return p11ac_7;
    }

    public static void setP11ac_7(int p11ac_7) {
        LogicaAplicacion.p11ac_7 = p11ac_7;
    }

    public static int getP11ac_8() {
        return p11ac_8;
    }

    public static void setP11ac_8(int p11ac_8) {
        LogicaAplicacion.p11ac_8 = p11ac_8;
    }

    public static int getP11ac_9() {
        return p11ac_9;
    }

    public static void setP11ac_9(int p11ac_9) {
        LogicaAplicacion.p11ac_9 = p11ac_9;
    }

    public static int getP11ac_10() {
        return p11ac_10;
    }

    public static void setP11ac_10(int p11ac_10) {
        LogicaAplicacion.p11ac_10 = p11ac_10;
    }

    public static int getP11ac_11() {
        return p11ac_11;
    }

    public static void setP11ac_11(int p11ac_11) {
        LogicaAplicacion.p11ac_11 = p11ac_11;
    }

    public static int getP11ad_1() {
        return p11ad_1;
    }

    public static void setP11ad_1(int p11ad_1) {
        LogicaAplicacion.p11ad_1 = p11ad_1;
    }

    public static int getP11ad_2() {
        return p11ad_2;
    }

    public static void setP11ad_2(int p11ad_2) {
        LogicaAplicacion.p11ad_2 = p11ad_2;
    }

    public static int getP11ad_4() {
        return p11ad_4;
    }

    public static void setP11ad_4(int p11ad_4) {
        LogicaAplicacion.p11ad_4 = p11ad_4;
    }

    public static int getP11ad_5() {
        return p11ad_5;
    }

    public static void setP11ad_5(int p11ad_5) {
        LogicaAplicacion.p11ad_5 = p11ad_5;
    }

    public static int getP11ad_6() {
        return p11ad_6;
    }

    public static void setP11ad_6(int p11ad_6) {
        LogicaAplicacion.p11ad_6 = p11ad_6;
    }

    public static int getP11ad_7() {
        return p11ad_7;
    }

    public static void setP11ad_7(int p11ad_7) {
        LogicaAplicacion.p11ad_7 = p11ad_7;
    }

    public static int getP11ad_8() {
        return p11ad_8;
    }

    public static void setP11ad_8(int p11ad_8) {
        LogicaAplicacion.p11ad_8 = p11ad_8;
    }

    public static int getP11ad_9() {
        return p11ad_9;
    }

    public static void setP11ad_9(int p11ad_9) {
        LogicaAplicacion.p11ad_9 = p11ad_9;
    }

    public static int getP11ad_10() {
        return p11ad_10;
    }

    public static void setP11ad_10(int p11ad_10) {
        LogicaAplicacion.p11ad_10 = p11ad_10;
    }

    public static int getP11ad_11() {
        return p11ad_11;
    }

    public static void setP11ad_11(int p11ad_11) {
        LogicaAplicacion.p11ad_11 = p11ad_11;
    }

    public static int getP11ae_1() {
        return p11ae_1;
    }

    public static void setP11ae_1(int p11ae_1) {
        LogicaAplicacion.p11ae_1 = p11ae_1;
    }

    public static int getP11ae_2() {
        return p11ae_2;
    }

    public static void setP11ae_2(int p11ae_2) {
        LogicaAplicacion.p11ae_2 = p11ae_2;
    }

    public static int getP11ae_4() {
        return p11ae_4;
    }

    public static void setP11ae_4(int p11ae_4) {
        LogicaAplicacion.p11ae_4 = p11ae_4;
    }

    public static int getP11ae_5() {
        return p11ae_5;
    }

    public static void setP11ae_5(int p11ae_5) {
        LogicaAplicacion.p11ae_5 = p11ae_5;
    }

    public static int getP11ae_6() {
        return p11ae_6;
    }

    public static void setP11ae_6(int p11ae_6) {
        LogicaAplicacion.p11ae_6 = p11ae_6;
    }

    public static int getP11ae_7() {
        return p11ae_7;
    }

    public static void setP11ae_7(int p11ae_7) {
        LogicaAplicacion.p11ae_7 = p11ae_7;
    }

    public static int getP11ae_8() {
        return p11ae_8;
    }

    public static void setP11ae_8(int p11ae_8) {
        LogicaAplicacion.p11ae_8 = p11ae_8;
    }

    public static int getP11ae_9() {
        return p11ae_9;
    }

    public static void setP11ae_9(int p11ae_9) {
        LogicaAplicacion.p11ae_9 = p11ae_9;
    }

    public static int getP11ae_10() {
        return p11ae_10;
    }

    public static void setP11ae_10(int p11ae_10) {
        LogicaAplicacion.p11ae_10 = p11ae_10;
    }

    public static int getP11ae_11() {
        return p11ae_11;
    }

    public static void setP11ae_11(int p11ae_11) {
        LogicaAplicacion.p11ae_11 = p11ae_11;
    }

    public static int getP11af_1() {
        return p11af_1;
    }

    public static void setP11af_1(int p11af_1) {
        LogicaAplicacion.p11af_1 = p11af_1;
    }

    public static int getP11af_2() {
        return p11af_2;
    }

    public static void setP11af_2(int p11af_2) {
        LogicaAplicacion.p11af_2 = p11af_2;
    }

    public static int getP11af_4() {
        return p11af_4;
    }

    public static void setP11af_4(int p11af_4) {
        LogicaAplicacion.p11af_4 = p11af_4;
    }

    public static int getP11af_5() {
        return p11af_5;
    }

    public static void setP11af_5(int p11af_5) {
        LogicaAplicacion.p11af_5 = p11af_5;
    }

    public static int getP11af_6() {
        return p11af_6;
    }

    public static void setP11af_6(int p11af_6) {
        LogicaAplicacion.p11af_6 = p11af_6;
    }

    public static int getP11af_7() {
        return p11af_7;
    }

    public static void setP11af_7(int p11af_7) {
        LogicaAplicacion.p11af_7 = p11af_7;
    }

    public static int getP11af_8() {
        return p11af_8;
    }

    public static void setP11af_8(int p11af_8) {
        LogicaAplicacion.p11af_8 = p11af_8;
    }

    public static int getP11af_9() {
        return p11af_9;
    }

    public static void setP11af_9(int p11af_9) {
        LogicaAplicacion.p11af_9 = p11af_9;
    }

    public static int getP11af_10() {
        return p11af_10;
    }

    public static void setP11af_10(int p11af_10) {
        LogicaAplicacion.p11af_10 = p11af_10;
    }

    public static int getP11af_11() {
        return p11af_11;
    }

    public static void setP11af_11(int p11af_11) {
        LogicaAplicacion.p11af_11 = p11af_11;
    }


    // Internet dedicado.
    
    private static int p11bt = 0;
    private static int p11b_c1 = 0;
    private static int p11b_c2 = 0;
    private static int p11b_c3 = 0;
    private static int p11b_c4 = 0;
    private static int p11b_c5 = 0;
    private static int p11b_c6 = 0;
    private static int p11b_f1 = 0;
    private static int p11b_f2 = 0;
    private static int p11b_f3 = 0;
    private static int p11b_f4 = 0;
    private static int p11b_f5 = 0;
    private static int p11b_f6 = 0;
    private static int p11b_f7 = 0;
    private static int p11b_f8 = 0;
    private static int p11b_f9 = 0;
    private static int p11b_f10 = 0;
    private static int p11b_f11 = 0;
    private static int p11b_f11_N = 0;
    private static int p11ba_1 = 0;
    private static int p11ba_2 = 0;
    private static int p11ba_3 = 0;
    private static int p11ba_4 = 0;
    private static int p11ba_5 = 0;
    private static int p11ba_6 = 0;
    private static int p11ba_7 = 0;
    private static int p11ba_8 = 0;
    private static int p11ba_9 = 0;
    private static int p11ba_10 = 0;
    private static int p11ba_11 = 0;
    private static int p11bb_1 = 0;
    private static int p11bb_2 = 0;
    private static int p11bb_3 = 0;
    private static int p11bb_4 = 0;
    private static int p11bb_5 = 0;
    private static int p11bb_6 = 0;
    private static int p11bb_7 = 0;
    private static int p11bb_8 = 0;
    private static int p11bb_9 = 0;
    private static int p11bb_10 = 0;
    private static int p11bb_11 = 0;
    private static int p11bc_1 = 0;
    private static int p11bc_2 = 0;
    private static int p11bc_3 = 0;
    private static int p11bc_4 = 0;
    private static int p11bc_5 = 0;
    private static int p11bc_6 = 0;
    private static int p11bc_7 = 0;
    private static int p11bc_8 = 0;
    private static int p11bc_9 = 0;
    private static int p11bc_10 = 0;
    private static int p11bc_11 = 0;
    private static int p11bd_1 = 0;
    private static int p11bd_2 = 0;
    private static int p11bd_3 = 0;
    private static int p11bd_4 = 0;
    private static int p11bd_5 = 0;
    private static int p11bd_6 = 0;
    private static int p11bd_7 = 0;
    private static int p11bd_8 = 0;
    private static int p11bd_9 = 0;
    private static int p11bd_10 = 0;
    private static int p11bd_11 = 0;
    private static int p11be_1 = 0;
    private static int p11be_2 = 0;
    private static int p11be_3 = 0;
    private static int p11be_4 = 0;
    private static int p11be_5 = 0;
    private static int p11be_6 = 0;
    private static int p11be_7 = 0;
    private static int p11be_8 = 0;
    private static int p11be_9 = 0;
    private static int p11be_10 = 0;
    private static int p11be_11 = 0;
    private static int p11bf_1 = 0;
    private static int p11bf_2 = 0;
    private static int p11bf_3 = 0;
    private static int p11bf_4 = 0;
    private static int p11bf_5 = 0;
    private static int p11bf_6 = 0;
    private static int p11bf_7 = 0;
    private static int p11bf_8 = 0;
    private static int p11bf_9 = 0;
    private static int p11bf_10 = 0;
    private static int p11bf_11 = 0;

    public static int getP11bt() {
        return p11bt;
    }

    public static void setP11bt(int p11bt) {
        LogicaAplicacion.p11bt = p11bt;
    }

    public static int getP11b_c1() {
        return p11b_c1;
    }

    public static void setP11b_c1(int p11b_c1) {
        LogicaAplicacion.p11b_c1 = p11b_c1;
    }

    public static int getP11b_c2() {
        return p11b_c2;
    }

    public static void setP11b_c2(int p11b_c2) {
        LogicaAplicacion.p11b_c2 = p11b_c2;
    }

    public static int getP11b_c3() {
        return p11b_c3;
    }

    public static void setP11b_c3(int p11b_c3) {
        LogicaAplicacion.p11b_c3 = p11b_c3;
    }

    public static int getP11b_c4() {
        return p11b_c4;
    }

    public static void setP11b_c4(int p11b_c4) {
        LogicaAplicacion.p11b_c4 = p11b_c4;
    }

    public static int getP11b_c5() {
        return p11b_c5;
    }

    public static void setP11b_c5(int p11b_c5) {
        LogicaAplicacion.p11b_c5 = p11b_c5;
    }

    public static int getP11b_c6() {
        return p11b_c6;
    }

    public static void setP11b_c6(int p11b_c6) {
        LogicaAplicacion.p11b_c6 = p11b_c6;
    }

    public static int getP11b_f1() {
        return p11b_f1;
    }

    public static void setP11b_f1(int p11b_f1) {
        LogicaAplicacion.p11b_f1 = p11b_f1;
    }

    public static int getP11b_f2() {
        return p11b_f2;
    }

    public static void setP11b_f2(int p11b_f2) {
        LogicaAplicacion.p11b_f2 = p11b_f2;
    }

    public static int getP11b_f3() {
        return p11b_f3;
    }

    public static void setP11b_f3(int p11b_f3) {
        LogicaAplicacion.p11b_f3 = p11b_f3;
    }

    public static int getP11b_f4() {
        return p11b_f4;
    }

    public static void setP11b_f4(int p11b_f4) {
        LogicaAplicacion.p11b_f4 = p11b_f4;
    }

    public static int getP11b_f5() {
        return p11b_f5;
    }

    public static void setP11b_f5(int p11b_f5) {
        LogicaAplicacion.p11b_f5 = p11b_f5;
    }

    public static int getP11b_f6() {
        return p11b_f6;
    }

    public static void setP11b_f6(int p11b_f6) {
        LogicaAplicacion.p11b_f6 = p11b_f6;
    }

    public static int getP11b_f7() {
        return p11b_f7;
    }

    public static void setP11b_f7(int p11b_f7) {
        LogicaAplicacion.p11b_f7 = p11b_f7;
    }

    public static int getP11b_f8() {
        return p11b_f8;
    }

    public static void setP11b_f8(int p11b_f8) {
        LogicaAplicacion.p11b_f8 = p11b_f8;
    }

    public static int getP11b_f9() {
        return p11b_f9;
    }

    public static void setP11b_f9(int p11b_f9) {
        LogicaAplicacion.p11b_f9 = p11b_f9;
    }

    public static int getP11b_f10() {
        return p11b_f10;
    }

    public static void setP11b_f10(int p11b_f10) {
        LogicaAplicacion.p11b_f10 = p11b_f10;
    }

    public static int getP11b_f11() {
        return p11b_f11;
    }

    public static void setP11b_f11(int p11b_f11) {
        LogicaAplicacion.p11b_f11 = p11b_f11;
    }

    public static int getP11b_f11_N() {
        return p11b_f11_N;
    }

    public static void setP11b_f11_N(int p11b_f11_N) {
        LogicaAplicacion.p11b_f11_N = p11b_f11_N;
    }

    public static int getP11ba_1() {
        return p11ba_1;
    }

    public static void setP11ba_1(int p11ba_1) {
        LogicaAplicacion.p11ba_1 = p11ba_1;
    }

    public static int getP11ba_2() {
        return p11ba_2;
    }

    public static void setP11ba_2(int p11ba_2) {
        LogicaAplicacion.p11ba_2 = p11ba_2;
    }

    public static int getP11ba_3() {
        return p11ba_3;
    }

    public static void setP11ba_3(int p11ba_3) {
        LogicaAplicacion.p11ba_3 = p11ba_3;
    }

    public static int getP11ba_4() {
        return p11ba_4;
    }

    public static void setP11ba_4(int p11ba_4) {
        LogicaAplicacion.p11ba_4 = p11ba_4;
    }

    public static int getP11ba_5() {
        return p11ba_5;
    }

    public static void setP11ba_5(int p11ba_5) {
        LogicaAplicacion.p11ba_5 = p11ba_5;
    }

    public static int getP11ba_6() {
        return p11ba_6;
    }

    public static void setP11ba_6(int p11ba_6) {
        LogicaAplicacion.p11ba_6 = p11ba_6;
    }

    public static int getP11ba_7() {
        return p11ba_7;
    }

    public static void setP11ba_7(int p11ba_7) {
        LogicaAplicacion.p11ba_7 = p11ba_7;
    }

    public static int getP11ba_8() {
        return p11ba_8;
    }

    public static void setP11ba_8(int p11ba_8) {
        LogicaAplicacion.p11ba_8 = p11ba_8;
    }

    public static int getP11ba_9() {
        return p11ba_9;
    }

    public static void setP11ba_9(int p11ba_9) {
        LogicaAplicacion.p11ba_9 = p11ba_9;
    }

    public static int getP11ba_10() {
        return p11ba_10;
    }

    public static void setP11ba_10(int p11ba_10) {
        LogicaAplicacion.p11ba_10 = p11ba_10;
    }

    public static int getP11ba_11() {
        return p11ba_11;
    }

    public static void setP11ba_11(int p11ba_11) {
        LogicaAplicacion.p11ba_11 = p11ba_11;
    }

    public static int getP11bb_1() {
        return p11bb_1;
    }

    public static void setP11bb_1(int p11bb_1) {
        LogicaAplicacion.p11bb_1 = p11bb_1;
    }

    public static int getP11bb_2() {
        return p11bb_2;
    }

    public static void setP11bb_2(int p11bb_2) {
        LogicaAplicacion.p11bb_2 = p11bb_2;
    }

    public static int getP11bb_3() {
        return p11bb_3;
    }

    public static void setP11bb_3(int p11bb_3) {
        LogicaAplicacion.p11bb_3 = p11bb_3;
    }

    public static int getP11bb_4() {
        return p11bb_4;
    }

    public static void setP11bb_4(int p11bb_4) {
        LogicaAplicacion.p11bb_4 = p11bb_4;
    }

    public static int getP11bb_5() {
        return p11bb_5;
    }

    public static void setP11bb_5(int p11bb_5) {
        LogicaAplicacion.p11bb_5 = p11bb_5;
    }

    public static int getP11bb_6() {
        return p11bb_6;
    }

    public static void setP11bb_6(int p11bb_6) {
        LogicaAplicacion.p11bb_6 = p11bb_6;
    }

    public static int getP11bb_7() {
        return p11bb_7;
    }

    public static void setP11bb_7(int p11bb_7) {
        LogicaAplicacion.p11bb_7 = p11bb_7;
    }

    public static int getP11bb_8() {
        return p11bb_8;
    }

    public static void setP11bb_8(int p11bb_8) {
        LogicaAplicacion.p11bb_8 = p11bb_8;
    }

    public static int getP11bb_9() {
        return p11bb_9;
    }

    public static void setP11bb_9(int p11bb_9) {
        LogicaAplicacion.p11bb_9 = p11bb_9;
    }

    public static int getP11bb_10() {
        return p11bb_10;
    }

    public static void setP11bb_10(int p11bb_10) {
        LogicaAplicacion.p11bb_10 = p11bb_10;
    }

    public static int getP11bb_11() {
        return p11bb_11;
    }

    public static void setP11bb_11(int p11bb_11) {
        LogicaAplicacion.p11bb_11 = p11bb_11;
    }

    public static int getP11bc_1() {
        return p11bc_1;
    }

    public static void setP11bc_1(int p11bc_1) {
        LogicaAplicacion.p11bc_1 = p11bc_1;
    }

    public static int getP11bc_2() {
        return p11bc_2;
    }

    public static void setP11bc_2(int p11bc_2) {
        LogicaAplicacion.p11bc_2 = p11bc_2;
    }

    public static int getP11bc_3() {
        return p11bc_3;
    }

    public static void setP11bc_3(int p11bc_3) {
        LogicaAplicacion.p11bc_3 = p11bc_3;
    }

    public static int getP11bc_4() {
        return p11bc_4;
    }

    public static void setP11bc_4(int p11bc_4) {
        LogicaAplicacion.p11bc_4 = p11bc_4;
    }

    public static int getP11bc_5() {
        return p11bc_5;
    }

    public static void setP11bc_5(int p11bc_5) {
        LogicaAplicacion.p11bc_5 = p11bc_5;
    }

    public static int getP11bc_6() {
        return p11bc_6;
    }

    public static void setP11bc_6(int p11bc_6) {
        LogicaAplicacion.p11bc_6 = p11bc_6;
    }

    public static int getP11bc_7() {
        return p11bc_7;
    }

    public static void setP11bc_7(int p11bc_7) {
        LogicaAplicacion.p11bc_7 = p11bc_7;
    }

    public static int getP11bc_8() {
        return p11bc_8;
    }

    public static void setP11bc_8(int p11bc_8) {
        LogicaAplicacion.p11bc_8 = p11bc_8;
    }

    public static int getP11bc_9() {
        return p11bc_9;
    }

    public static void setP11bc_9(int p11bc_9) {
        LogicaAplicacion.p11bc_9 = p11bc_9;
    }

    public static int getP11bc_10() {
        return p11bc_10;
    }

    public static void setP11bc_10(int p11bc_10) {
        LogicaAplicacion.p11bc_10 = p11bc_10;
    }

    public static int getP11bc_11() {
        return p11bc_11;
    }

    public static void setP11bc_11(int p11bc_11) {
        LogicaAplicacion.p11bc_11 = p11bc_11;
    }

    public static int getP11bd_1() {
        return p11bd_1;
    }

    public static void setP11bd_1(int p11bd_1) {
        LogicaAplicacion.p11bd_1 = p11bd_1;
    }

    public static int getP11bd_2() {
        return p11bd_2;
    }

    public static void setP11bd_2(int p11bd_2) {
        LogicaAplicacion.p11bd_2 = p11bd_2;
    }

    public static int getP11bd_3() {
        return p11bd_3;
    }

    public static void setP11bd_3(int p11bd_3) {
        LogicaAplicacion.p11bd_3 = p11bd_3;
    }

    public static int getP11bd_4() {
        return p11bd_4;
    }

    public static void setP11bd_4(int p11bd_4) {
        LogicaAplicacion.p11bd_4 = p11bd_4;
    }

    public static int getP11bd_5() {
        return p11bd_5;
    }

    public static void setP11bd_5(int p11bd_5) {
        LogicaAplicacion.p11bd_5 = p11bd_5;
    }

    public static int getP11bd_6() {
        return p11bd_6;
    }

    public static void setP11bd_6(int p11bd_6) {
        LogicaAplicacion.p11bd_6 = p11bd_6;
    }

    public static int getP11bd_7() {
        return p11bd_7;
    }

    public static void setP11bd_7(int p11bd_7) {
        LogicaAplicacion.p11bd_7 = p11bd_7;
    }

    public static int getP11bd_8() {
        return p11bd_8;
    }

    public static void setP11bd_8(int p11bd_8) {
        LogicaAplicacion.p11bd_8 = p11bd_8;
    }

    public static int getP11bd_9() {
        return p11bd_9;
    }

    public static void setP11bd_9(int p11bd_9) {
        LogicaAplicacion.p11bd_9 = p11bd_9;
    }

    public static int getP11bd_10() {
        return p11bd_10;
    }

    public static void setP11bd_10(int p11bd_10) {
        LogicaAplicacion.p11bd_10 = p11bd_10;
    }

    public static int getP11bd_11() {
        return p11bd_11;
    }

    public static void setP11bd_11(int p11bd_11) {
        LogicaAplicacion.p11bd_11 = p11bd_11;
    }

    public static int getP11be_1() {
        return p11be_1;
    }

    public static void setP11be_1(int p11be_1) {
        LogicaAplicacion.p11be_1 = p11be_1;
    }

    public static int getP11be_2() {
        return p11be_2;
    }

    public static void setP11be_2(int p11be_2) {
        LogicaAplicacion.p11be_2 = p11be_2;
    }

    public static int getP11be_3() {
        return p11be_3;
    }

    public static void setP11be_3(int p11be_3) {
        LogicaAplicacion.p11be_3 = p11be_3;
    }

    public static int getP11be_4() {
        return p11be_4;
    }

    public static void setP11be_4(int p11be_4) {
        LogicaAplicacion.p11be_4 = p11be_4;
    }

    public static int getP11be_5() {
        return p11be_5;
    }

    public static void setP11be_5(int p11be_5) {
        LogicaAplicacion.p11be_5 = p11be_5;
    }

    public static int getP11be_6() {
        return p11be_6;
    }

    public static void setP11be_6(int p11be_6) {
        LogicaAplicacion.p11be_6 = p11be_6;
    }

    public static int getP11be_7() {
        return p11be_7;
    }

    public static void setP11be_7(int p11be_7) {
        LogicaAplicacion.p11be_7 = p11be_7;
    }

    public static int getP11be_8() {
        return p11be_8;
    }

    public static void setP11be_8(int p11be_8) {
        LogicaAplicacion.p11be_8 = p11be_8;
    }

    public static int getP11be_9() {
        return p11be_9;
    }

    public static void setP11be_9(int p11be_9) {
        LogicaAplicacion.p11be_9 = p11be_9;
    }

    public static int getP11be_10() {
        return p11be_10;
    }

    public static void setP11be_10(int p11be_10) {
        LogicaAplicacion.p11be_10 = p11be_10;
    }

    public static int getP11be_11() {
        return p11be_11;
    }

    public static void setP11be_11(int p11be_11) {
        LogicaAplicacion.p11be_11 = p11be_11;
    }

    public static int getP11bf_1() {
        return p11bf_1;
    }

    public static void setP11bf_1(int p11bf_1) {
        LogicaAplicacion.p11bf_1 = p11bf_1;
    }

    public static int getP11bf_2() {
        return p11bf_2;
    }

    public static void setP11bf_2(int p11bf_2) {
        LogicaAplicacion.p11bf_2 = p11bf_2;
    }

    public static int getP11bf_3() {
        return p11bf_3;
    }

    public static void setP11bf_3(int p11bf_3) {
        LogicaAplicacion.p11bf_3 = p11bf_3;
    }

    public static int getP11bf_4() {
        return p11bf_4;
    }

    public static void setP11bf_4(int p11bf_4) {
        LogicaAplicacion.p11bf_4 = p11bf_4;
    }

    public static int getP11bf_5() {
        return p11bf_5;
    }

    public static void setP11bf_5(int p11bf_5) {
        LogicaAplicacion.p11bf_5 = p11bf_5;
    }

    public static int getP11bf_6() {
        return p11bf_6;
    }

    public static void setP11bf_6(int p11bf_6) {
        LogicaAplicacion.p11bf_6 = p11bf_6;
    }

    public static int getP11bf_7() {
        return p11bf_7;
    }

    public static void setP11bf_7(int p11bf_7) {
        LogicaAplicacion.p11bf_7 = p11bf_7;
    }

    public static int getP11bf_8() {
        return p11bf_8;
    }

    public static void setP11bf_8(int p11bf_8) {
        LogicaAplicacion.p11bf_8 = p11bf_8;
    }

    public static int getP11bf_9() {
        return p11bf_9;
    }

    public static void setP11bf_9(int p11bf_9) {
        LogicaAplicacion.p11bf_9 = p11bf_9;
    }

    public static int getP11bf_10() {
        return p11bf_10;
    }

    public static void setP11bf_10(int p11bf_10) {
        LogicaAplicacion.p11bf_10 = p11bf_10;
    }

    public static int getP11bf_11() {
        return p11bf_11;
    }

    public static void setP11bf_11(int p11bf_11) {
        LogicaAplicacion.p11bf_11 = p11bf_11;
    }
    
    // Lìneas moviles.
    
    private static int p14t = 0;
    private static int p14_f1 = 0;
    private static int p14_f2 = 0;
    private static int p14_f3 = 0;
    private static int p14_f4 = 0;
    private static int p14_f4_N = 0;
    private static int p15a_f1 = 0;
    private static int p15a_f2 = 0;
    private static int p15a_f3 = 0;
    private static int p15a_f4 = 0;
    private static int p15a_f5 = 0;
    private static int p15a_f6 = 0;
    private static int p15a_f7 = 0;
    private static int p15a_f7_N = 0;
    private static int p15b_f1 = 0;
    private static int p15b_f2 = 0;
    private static int p15b_f3 = 0;
    private static int p15b_f4 = 0;
    private static int p15b_f5 = 0;
    private static int p15b_f6 = 0;
    private static int p15b_f7 = 0;
    private static int p15b_f7_N = 0;

    public static int getP14t() {
        return p14t;
    }

    public static void setP14t(int p14t) {
        LogicaAplicacion.p14t = p14t;
    }

    public static int getP14_f1() {
        return p14_f1;
    }

    public static void setP14_f1(int p14_f1) {
        LogicaAplicacion.p14_f1 = p14_f1;
    }

    public static int getP14_f2() {
        return p14_f2;
    }

    public static void setP14_f2(int p14_f2) {
        LogicaAplicacion.p14_f2 = p14_f2;
    }

    public static int getP14_f3() {
        return p14_f3;
    }

    public static void setP14_f3(int p14_f3) {
        LogicaAplicacion.p14_f3 = p14_f3;
    }

    public static int getP14_f4() {
        return p14_f4;
    }

    public static void setP14_f4(int p14_f4) {
        LogicaAplicacion.p14_f4 = p14_f4;
    }

    public static int getP14_f4_N() {
        return p14_f4_N;
    }

    public static void setP14_f4_N(int p14_f4_N) {
        LogicaAplicacion.p14_f4_N = p14_f4_N;
    }

    public static int getP15a_f1() {
        return p15a_f1;
    }

    public static void setP15a_f1(int p15a_f1) {
        LogicaAplicacion.p15a_f1 = p15a_f1;
    }

    public static int getP15a_f2() {
        return p15a_f2;
    }

    public static void setP15a_f2(int p15a_f2) {
        LogicaAplicacion.p15a_f2 = p15a_f2;
    }

    public static int getP15a_f3() {
        return p15a_f3;
    }

    public static void setP15a_f3(int p15a_f3) {
        LogicaAplicacion.p15a_f3 = p15a_f3;
    }

    public static int getP15a_f4() {
        return p15a_f4;
    }

    public static void setP15a_f4(int p15a_f4) {
        LogicaAplicacion.p15a_f4 = p15a_f4;
    }

    public static int getP15a_f5() {
        return p15a_f5;
    }

    public static void setP15a_f5(int p15a_f5) {
        LogicaAplicacion.p15a_f5 = p15a_f5;
    }

    public static int getP15a_f6() {
        return p15a_f6;
    }

    public static void setP15a_f6(int p15a_f6) {
        LogicaAplicacion.p15a_f6 = p15a_f6;
    }

    public static int getP15a_f7() {
        return p15a_f7;
    }

    public static void setP15a_f7(int p15a_f7) {
        LogicaAplicacion.p15a_f7 = p15a_f7;
    }

    public static int getP15a_f7_N() {
        return p15a_f7_N;
    }

    public static void setP15a_f7_N(int p15a_f7_N) {
        LogicaAplicacion.p15a_f7_N = p15a_f7_N;
    }

    public static int getP15b_f1() {
        return p15b_f1;
    }

    public static void setP15b_f1(int p15b_f1) {
        LogicaAplicacion.p15b_f1 = p15b_f1;
    }

    public static int getP15b_f2() {
        return p15b_f2;
    }

    public static void setP15b_f2(int p15b_f2) {
        LogicaAplicacion.p15b_f2 = p15b_f2;
    }

    public static int getP15b_f3() {
        return p15b_f3;
    }

    public static void setP15b_f3(int p15b_f3) {
        LogicaAplicacion.p15b_f3 = p15b_f3;
    }

    public static int getP15b_f4() {
        return p15b_f4;
    }

    public static void setP15b_f4(int p15b_f4) {
        LogicaAplicacion.p15b_f4 = p15b_f4;
    }

    public static int getP15b_f5() {
        return p15b_f5;
    }

    public static void setP15b_f5(int p15b_f5) {
        LogicaAplicacion.p15b_f5 = p15b_f5;
    }

    public static int getP15b_f6() {
        return p15b_f6;
    }

    public static void setP15b_f6(int p15b_f6) {
        LogicaAplicacion.p15b_f6 = p15b_f6;
    }

    public static int getP15b_f7() {
        return p15b_f7;
    }

    public static void setP15b_f7(int p15b_f7) {
        LogicaAplicacion.p15b_f7 = p15b_f7;
    }

    public static int getP15b_f7_N() {
        return p15b_f7_N;
    }

    public static void setP15b_f7_N(int p15b_f7_N) {
        LogicaAplicacion.p15b_f7_N = p15b_f7_N;
    }
    
    private static String otro_p18 = "";
    private static String otro_p17 = "";
    private static String otro_p16 = "";
    
    // Atributos para ultima pregunta.
    
    private static int p19_1 = 0;
    private static int p19_2 = 0;
    private static Entrevistado entrevistado = null;
    private static String horaInicioEntrevista = "";
    private static String horaFinEntrevista = "";
    private static String comentariosEntrevistap22 = "";
    private static int yg = 0;

    public static int getYg() {
        return yg;
    }

    public static void setYg(int yg) {
        LogicaAplicacion.yg = yg;
    }
    
    private static int id = 0;

    public static int getId() {
        return id;
    }

    public static void setId(int id) {
        LogicaAplicacion.id = id;
    }
    
    private static int p23 = 0;
    
    // Cadena de insert dinámica para atributos de la tabla.
    
    private static String insertDinamico = "INSERT INTO spss";
    private static String cabeceraInsert = "(ID,FECHA,MEDICION,TLF_EMPR,NOM_EMPR,RIF,YD,YE,YFA,YG,";
    private static String colaIntsert = "P19_1,P19_2,NOM_ENTR,TLF_ENTR,EMAIL_EN,HORA_INC,HORA_FIN,P22,P23)";
    private static String medularString = "";
    private static String primerosValores = "";
    private static String valoresFinales = "";
    private static String valoresMedulares = "";
    
    public static void agregarPantallaLista(PantallaAplicacion p){
         pantallasAplicacion.add(p);
    }

    public static void mostrarPantallaRegreso(int posicionActual) throws Exception{
    try{
        switch (pantallasAplicacion.get(posicionActual).getNroPregunta()){
            
            case 1: ((RegistroLineasTelefonicas) (pantallasAplicacion.get(posicionActual).getPantalla())).hacerVisible(true,posicionActual);
                    break;
            case 2: ((RegistroLineasCPA) (pantallasAplicacion.get(posicionActual).getPantalla())).hacerVisible(true,posicionActual);
                    break;
            case 3: ((RegistroPuertosConmutados) (pantallasAplicacion.get(posicionActual).getPantalla())).hacerVisible(true,posicionActual);
                    break;
            case 4: ((RegistroEnlancesDedicados) (pantallasAplicacion.get(posicionActual).getPantalla())).hacerVisible(true,posicionActual);
                    break;
            case 5: ((RegistroInternetDialUp) (pantallasAplicacion.get(posicionActual).getPantalla())).hacerVisible(true,posicionActual);
                    break;
            case 6: ((RegistroInternetBandaAncha) (pantallasAplicacion.get(posicionActual).getPantalla())).hacerVisible(true,posicionActual);
                    break;
            case 7: ((RegistroInternetDedicado) (pantallasAplicacion.get(posicionActual).getPantalla())).hacerVisible(true,posicionActual);
                    break;
            case 8: ((RegistroTelefoniaMovil) (pantallasAplicacion.get(posicionActual).getPantalla())).hacerVisible(true,posicionActual);
                    break;
            case 9: ((RegistroDataCenter) (pantallasAplicacion.get(posicionActual).getPantalla())).hacerVisible(true,posicionActual);
                    break;
            case 10: ((RegistroCentroContacto) (pantallasAplicacion.get(posicionActual).getPantalla())).hacerVisible(true,posicionActual);
                    break;
            case 11: ((RegistroAdminRedes) (pantallasAplicacion.get(posicionActual).getPantalla())).hacerVisible(true,posicionActual);
                    break;
            case 12: ((RegistroDispositivosInternet) (pantallasAplicacion.get(posicionActual).getPantalla())).hacerVisible(true,posicionActual);
                    break;
            default: ((DatosClasificacion) (pantallasAplicacion.get(posicionActual).getPantalla())).hacerVisible(true,posicionActual);
                    break;
        }
      }
    catch (ArrayIndexOutOfBoundsException ex){
        throw new Exception("No existe ninguna pantalla previa a esta.");
     }
    }

    public static void mostrarPantallaSiguiente(int posicionActual){

       switch (pantallasAplicacion.get(posicionActual).getNroPregunta()){
           
            case 1: ((RegistroLineasTelefonicas) (pantallasAplicacion.get(posicionActual).getPantalla())).hacerVisibleDespuesSiguiente(true,posicionActual);
                    break;
            case 2: ((RegistroLineasCPA) (pantallasAplicacion.get(posicionActual).getPantalla())).hacerVisibleDespuesSiguiente(true,posicionActual);
                    break;
            case 3: ((RegistroPuertosConmutados) (pantallasAplicacion.get(posicionActual).getPantalla())).hacerVisibleDespuesSiguiente(true,posicionActual);
                    break;
            case 4: ((RegistroEnlancesDedicados) (pantallasAplicacion.get(posicionActual).getPantalla())).hacerVisibleDespuesSiguiente(true,posicionActual);
                    break;
            case 5: ((RegistroInternetDialUp) (pantallasAplicacion.get(posicionActual).getPantalla())).hacerVisibleDespuesSiguiente(true,posicionActual);
                    break;
            case 6: ((RegistroInternetBandaAncha) (pantallasAplicacion.get(posicionActual).getPantalla())).hacerVisibleDespuesSiguiente(true,posicionActual);
                    break;
            case 7: ((RegistroInternetDedicado) (pantallasAplicacion.get(posicionActual).getPantalla())).hacerVisibleDespuesSiguiente(true,posicionActual);
                    break;
            case 8: ((RegistroTelefoniaMovil) (pantallasAplicacion.get(posicionActual).getPantalla())).hacerVisibleDespuesSiguiente(true,posicionActual);
                    break;
            case 9: ((RegistroDataCenter) (pantallasAplicacion.get(posicionActual).getPantalla())).hacerVisibleDespuesSiguiente(true,posicionActual);
                    break;
            case 10: ((RegistroCentroContacto) (pantallasAplicacion.get(posicionActual).getPantalla())).hacerVisibleDespuesSiguiente(true,posicionActual);
                    break;
            case 11: ((RegistroAdminRedes) (pantallasAplicacion.get(posicionActual).getPantalla())).hacerVisibleDespuesSiguiente(true,posicionActual);
                    break;
            case 12: ((RegistroDispositivosInternet) (pantallasAplicacion.get(posicionActual).getPantalla())).hacerVisibleDespuesSiguiente(true,posicionActual);
                    break;
            default: ((DatosClasificacion) (pantallasAplicacion.get(posicionActual).getPantalla())).hacerVisibleDespuesSiguiente(true,posicionActual);
                    break;
       }     
    }

    public static void actualizarPantalla(int nroPregunta, JFrame f){
        for (PantallaAplicacion p: getPantallasAplicacion()){
            if (p.getNroPregunta() == nroPregunta){
                System.out.println("Actualizando pantalla con la nueva, actualizando pregunta: "+nroPregunta);
                    p.setPantalla(f);
            }
        }
    }

    public static ArrayList<PantallaAplicacion> getPantallasAplicacion() {
        return pantallasAplicacion;
    }

    public static void setPantallasAplicacion(ArrayList<PantallaAplicacion> pantallasAplicacion) {
        LogicaAplicacion.pantallasAplicacion = pantallasAplicacion;
    }

    public static String obtenerTituloPregunta(int nroPregunta){

       switch (nroPregunta){

            case 1: return "1.- Registro de Líneas Telefónicas";
                    
            case 2: return "2.- Registro Líneas CPA";
                    
            case 3: return "3.- Registro de Puertos Conmutados";
                    
            case 4: return "4.- Registro de Enlances Dedicados";
                    
            case 5: return "5.- Registro de Internet DialUp";
                    
            case 6: return "6.- Registro de Internet Banda Ancha";
                    
            case 7: return "7.- Registro de Internet Dedicado";
                    
            case 8: return "8.- Registro de Telefonias Moviles";
                    
            case 9: return "9.- Registro Data Center";
                    
            case 10: return "10.- Registro de Centros de Contacto";
                    
            case 11: return "11.- Registro de Administración de Redes";
                    
       }
       return "";
    }
    
    public static void registrarEmpresaEntrevista(Empresa e, String fechaActual){
        empresa = e;
        fechaEntrevista = fechaActual;
    }

    public static int getP1() {
        return p1;
    }

    public static void setP1(int respuesta) {
        p1 = respuesta;
    }

    public static Empresa getEmpresa() {
        return empresa;
    }

    public static void setEmpresa(Empresa empresa) {
        LogicaAplicacion.empresa = empresa;
    }

    public static String getFechaEntrevista() {
        return fechaEntrevista;
    }

    public static void setFechaEntrevista(String fechaEntrevista) {
        LogicaAplicacion.fechaEntrevista = fechaEntrevista;
    }

    public static int getPeriodoRevision() {
        return periodoRevision;
    }

    public static void setPeriodoRevision(int periodoRevision) {
        LogicaAplicacion.periodoRevision = periodoRevision;
    }

    public static ArrayList getP2s() {
        return p2s;
    }

    public static void setP2s(ArrayList p2s) {
        LogicaAplicacion.p2s = p2s;
    }
    
    public static void agregarRepuestasp2s(int respuesta){
        p2s.add(respuesta);
    }

    public static int getP3() {
        return p3;
    }

    public static void setP3(int p3) {
        LogicaAplicacion.p3 = p3;
    }

    public static int getP5() {
        return p5;
    }

    public static void setP5(int p5) {
        LogicaAplicacion.p5 = p5;
    }

    public static int getP6_1() {
        return p6_1;
    }

    public static void setP6_1(int p6_1) {
        LogicaAplicacion.p6_1 = p6_1;
    }

    public static int getP6_2() {
        return p6_2;
    }

    public static void setP6_2(int p6_2) {
        LogicaAplicacion.p6_2 = p6_2;
    }

    public static int getP7_t() {
        return p7_t;
    }

    public static void setP7_t(int p7_t) {
        LogicaAplicacion.p7_t = p7_t;
    }

    public static int getP19_1() {
        return p19_1;
    }

    public static void setP19_1(int p19_1) {
        LogicaAplicacion.p19_1 = p19_1;
    }

    public static int getP19_2() {
        return p19_2;
    }

    public static void setP19_2(int p19_2) {
        LogicaAplicacion.p19_2 = p19_2;
    }

    public static Entrevistado getEntrevistado() {
        return entrevistado;
    }

    public static void setEntrevistado(Entrevistado entrevistado) {
        LogicaAplicacion.entrevistado = entrevistado;
    }

    public static String getHoraInicioEntrevista() {
        return horaInicioEntrevista;
    }

    public static void setHoraInicioEntrevista(String horaInicioEntrevista) {
        LogicaAplicacion.horaInicioEntrevista = horaInicioEntrevista;
    }

    public static String getHoraFinEntrevista() {
        return horaFinEntrevista;
    }

    public static void setHoraFinEntrevista(String horaFinEntrevista) {
        LogicaAplicacion.horaFinEntrevista = horaFinEntrevista;
    }

    public static String getComentariosEntrevistap22() {
        return comentariosEntrevistap22;
    }

    public static void setComentariosEntrevistap22(String comentariosEntrevistap22) {
        LogicaAplicacion.comentariosEntrevistap22 = comentariosEntrevistap22;
    }

    public static int getP23() {
        return p23;
    }

    public static void setP23(int p23) {
        LogicaAplicacion.p23 = p23;
    }

    
    public static String getOtro_p18() {
        return otro_p18;
    }

    public static void setOtro_p18(String otro_p18) {
        LogicaAplicacion.otro_p18 = otro_p18;
    }

    public static String getOtro_p17() {
        return otro_p17;
    }

    public static void setOtro_p17(String otro_p17) {
        LogicaAplicacion.otro_p17 = otro_p17;
    }

    public static String getOtro_p16() {
        return otro_p16;
    }

    public static void setOtro_p16(String otro_p16) {
        LogicaAplicacion.otro_p16 = otro_p16;
    }
    
    
    public static int getP7_c1() {
        return p7_c1;
    }

    public static void setP7_c1(int p7_c1) {
        LogicaAplicacion.p7_c1 = p7_c1;
    }

    public static int getP7_c2() {
        return p7_c2;
    }

    public static void setP7_c2(int p7_c2) {
        LogicaAplicacion.p7_c2 = p7_c2;
    }

    public static int getP7_c3() {
        return p7_c3;
    }

    public static void setP7_c3(int p7_c3) {
        LogicaAplicacion.p7_c3 = p7_c3;
    }

    public static int getP7_c4() {
        return p7_c4;
    }

    public static void setP7_c4(int p7_c4) {
        LogicaAplicacion.p7_c4 = p7_c4;
    }

    public static int getP7_c5() {
        return p7_c5;
    }

    public static void setP7_c5(int p7_c5) {
        LogicaAplicacion.p7_c5 = p7_c5;
    }

    public static int getP7_c6() {
        return p7_c6;
    }

    public static void setP7_c6(int p7_c6) {
        LogicaAplicacion.p7_c6 = p7_c6;
    }
    
        public static int getP7_f1() {
        return p7_f1;
    }

    public static void setP7_f1(int p7_f1) {
        LogicaAplicacion.p7_f1 = p7_f1;
    }

    public static int getP7_f2() {
        return p7_f2;
    }

    public static void setP7_f2(int p7_f2) {
        LogicaAplicacion.p7_f2 = p7_f2;
    }

    public static int getP7_f3() {
        return p7_f3;
    }

    public static void setP7_f3(int p7_f3) {
        LogicaAplicacion.p7_f3 = p7_f3;
    }

    public static int getP7_f4() {
        return p7_f4;
    }

    public static void setP7_f4(int p7_f4) {
        LogicaAplicacion.p7_f4 = p7_f4;
    }

    public static int getP7_f5() {
        return p7_f5;
    }

    public static void setP7_f5(int p7_f5) {
        LogicaAplicacion.p7_f5 = p7_f5;
    }

    public static int getP7_f6() {
        return p7_f6;
    }

    public static void setP7_f6(int p7_f6) {
        LogicaAplicacion.p7_f6 = p7_f6;
    }

    public static int getP7_f7() {
        return p7_f7;
    }

    public static void setP7_f7(int p7_f7) {
        LogicaAplicacion.p7_f7 = p7_f7;
    }

    public static int getP7_f8() {
        return p7_f8;
    }

    public static void setP7_f8(int p7_f8) {
        LogicaAplicacion.p7_f8 = p7_f8;
    }

    public static int getP7_f9() {
        return p7_f9;
    }

    public static void setP7_f9(int p7_f9) {
        LogicaAplicacion.p7_f9 = p7_f9;
    }

    public static int getP7_f10() {
        return p7_f10;
    }

    public static void setP7_f10(int p7_f10) {
        LogicaAplicacion.p7_f10 = p7_f10;
    }

    public static int getP7_f11() {
        return p7_f11;
    }

    public static void setP7_f11(int p7_f11) {
        LogicaAplicacion.p7_f11 = p7_f11;
    }

    public static int getP7_f12() {
        return p7_f12;
    }

    public static void setP7_f12(int p7_f12) {
        LogicaAplicacion.p7_f12 = p7_f12;
    }

    public static int getP7_f12_N() {
        return p7_f12_N;
    }

    public static void setP7_f12_N(int p7_f12_N) {
        LogicaAplicacion.p7_f12_N = p7_f12_N;
    }

    public static int getP7a_1() {
        return p7a_1;
    }

    public static void setP7a_1(int p7a_1) {
        LogicaAplicacion.p7a_1 = p7a_1;
    }

    public static int getP7a_2() {
        return p7a_2;
    }

    public static void setP7a_2(int p7a_2) {
        LogicaAplicacion.p7a_2 = p7a_2;
    }

    public static int getP7a_3() {
        return p7a_3;
    }

    public static void setP7a_3(int p7a_3) {
        LogicaAplicacion.p7a_3 = p7a_3;
    }

    public static int getP7a_4() {
        return p7a_4;
    }

    public static void setP7a_4(int p7a_4) {
        LogicaAplicacion.p7a_4 = p7a_4;
    }

    public static int getP7a_5() {
        return p7a_5;
    }

    public static void setP7a_5(int p7a_5) {
        LogicaAplicacion.p7a_5 = p7a_5;
    }

    public static int getP7a_6() {
        return p7a_6;
    }

    public static void setP7a_6(int p7a_6) {
        LogicaAplicacion.p7a_6 = p7a_6;
    }

    public static int getP7a_7() {
        return p7a_7;
    }

    public static void setP7a_7(int p7a_7) {
        LogicaAplicacion.p7a_7 = p7a_7;
    }

    public static int getP7a_8() {
        return p7a_8;
    }

    public static void setP7a_8(int p7a_8) {
        LogicaAplicacion.p7a_8 = p7a_8;
    }

    public static int getP7a_9() {
        return p7a_9;
    }

    public static void setP7a_9(int p7a_9) {
        LogicaAplicacion.p7a_9 = p7a_9;
    }

    public static int getP7a_10() {
        return p7a_10;
    }

    public static void setP7a_10(int p7a_10) {
        LogicaAplicacion.p7a_10 = p7a_10;
    }

    public static int getP7a_11() {
        return p7a_11;
    }

    public static void setP7a_11(int p7a_11) {
        LogicaAplicacion.p7a_11 = p7a_11;
    }

    public static int getP7a_12() {
        return p7a_12;
    }

    public static void setP7a_12(int p7a_12) {
        LogicaAplicacion.p7a_12 = p7a_12;
    }

    public static int getP7b_1() {
        return p7b_1;
    }

    public static void setP7b_1(int p7b_1) {
        LogicaAplicacion.p7b_1 = p7b_1;
    }

    public static int getP7b_2() {
        return p7b_2;
    }

    public static void setP7b_2(int p7b_2) {
        LogicaAplicacion.p7b_2 = p7b_2;
    }

    public static int getP7b_3() {
        return p7b_3;
    }

    public static void setP7b_3(int p7b_3) {
        LogicaAplicacion.p7b_3 = p7b_3;
    }

    public static int getP7b_4() {
        return p7b_4;
    }

    public static void setP7b_4(int p7b_4) {
        LogicaAplicacion.p7b_4 = p7b_4;
    }

    public static int getP7b_5() {
        return p7b_5;
    }

    public static void setP7b_5(int p7b_5) {
        LogicaAplicacion.p7b_5 = p7b_5;
    }

    public static int getP7b_6() {
        return p7b_6;
    }

    public static void setP7b_6(int p7b_6) {
        LogicaAplicacion.p7b_6 = p7b_6;
    }

    public static int getP7b_7() {
        return p7b_7;
    }

    public static void setP7b_7(int p7b_7) {
        LogicaAplicacion.p7b_7 = p7b_7;
    }

    public static int getP7b_8() {
        return p7b_8;
    }

    public static void setP7b_8(int p7b_8) {
        LogicaAplicacion.p7b_8 = p7b_8;
    }

    public static int getP7b_9() {
        return p7b_9;
    }

    public static void setP7b_9(int p7b_9) {
        LogicaAplicacion.p7b_9 = p7b_9;
    }

    public static int getP7b_10() {
        return p7b_10;
    }

    public static void setP7b_10(int p7b_10) {
        LogicaAplicacion.p7b_10 = p7b_10;
    }

    public static int getP7b_11() {
        return p7b_11;
    }

    public static void setP7b_11(int p7b_11) {
        LogicaAplicacion.p7b_11 = p7b_11;
    }

    public static int getP7b_12() {
        return p7b_12;
    }

    public static void setP7b_12(int p7b_12) {
        LogicaAplicacion.p7b_12 = p7b_12;
    }

    public static int getP7c_1() {
        return p7c_1;
    }

    public static void setP7c_1(int p7c_1) {
        LogicaAplicacion.p7c_1 = p7c_1;
    }

    public static int getP7c_2() {
        return p7c_2;
    }

    public static void setP7c_2(int p7c_2) {
        LogicaAplicacion.p7c_2 = p7c_2;
    }

    public static int getP7c_3() {
        return p7c_3;
    }

    public static void setP7c_3(int p7c_3) {
        LogicaAplicacion.p7c_3 = p7c_3;
    }

    public static int getP7c_4() {
        return p7c_4;
    }

    public static void setP7c_4(int p7c_4) {
        LogicaAplicacion.p7c_4 = p7c_4;
    }

    public static int getP7c_5() {
        return p7c_5;
    }

    public static void setP7c_5(int p7c_5) {
        LogicaAplicacion.p7c_5 = p7c_5;
    }

    public static int getP7c_6() {
        return p7c_6;
    }

    public static void setP7c_6(int p7c_6) {
        LogicaAplicacion.p7c_6 = p7c_6;
    }

    public static int getP7c_7() {
        return p7c_7;
    }

    public static void setP7c_7(int p7c_7) {
        LogicaAplicacion.p7c_7 = p7c_7;
    }

    public static int getP7c_8() {
        return p7c_8;
    }

    public static void setP7c_8(int p7c_8) {
        LogicaAplicacion.p7c_8 = p7c_8;
    }

    public static int getP7c_9() {
        return p7c_9;
    }

    public static void setP7c_9(int p7c_9) {
        LogicaAplicacion.p7c_9 = p7c_9;
    }

    public static int getP7c_10() {
        return p7c_10;
    }

    public static void setP7c_10(int p7c_10) {
        LogicaAplicacion.p7c_10 = p7c_10;
    }

    public static int getP7c_11() {
        return p7c_11;
    }

    public static void setP7c_11(int p7c_11) {
        LogicaAplicacion.p7c_11 = p7c_11;
    }

    public static int getP7c_12() {
        return p7c_12;
    }

    public static void setP7c_12(int p7c_12) {
        LogicaAplicacion.p7c_12 = p7c_12;
    }

    public static int getP7d_1() {
        return p7d_1;
    }

    public static void setP7d_1(int p7d_1) {
        LogicaAplicacion.p7d_1 = p7d_1;
    }

    public static int getP7d_2() {
        return p7d_2;
    }

    public static void setP7d_2(int p7d_2) {
        LogicaAplicacion.p7d_2 = p7d_2;
    }

    public static int getP7d_3() {
        return p7d_3;
    }

    public static void setP7d_3(int p7d_3) {
        LogicaAplicacion.p7d_3 = p7d_3;
    }

    public static int getP7d_4() {
        return p7d_4;
    }

    public static void setP7d_4(int p7d_4) {
        LogicaAplicacion.p7d_4 = p7d_4;
    }

    public static int getP7d_5() {
        return p7d_5;
    }

    public static void setP7d_5(int p7d_5) {
        LogicaAplicacion.p7d_5 = p7d_5;
    }

    public static int getP7d_6() {
        return p7d_6;
    }

    public static void setP7d_6(int p7d_6) {
        LogicaAplicacion.p7d_6 = p7d_6;
    }

    public static int getP7d_7() {
        return p7d_7;
    }

    public static void setP7d_7(int p7d_7) {
        LogicaAplicacion.p7d_7 = p7d_7;
    }

    public static int getP7d_8() {
        return p7d_8;
    }

    public static void setP7d_8(int p7d_8) {
        LogicaAplicacion.p7d_8 = p7d_8;
    }

    public static int getP7d_9() {
        return p7d_9;
    }

    public static void setP7d_9(int p7d_9) {
        LogicaAplicacion.p7d_9 = p7d_9;
    }

    public static int getP7d_10() {
        return p7d_10;
    }

    public static void setP7d_10(int p7d_10) {
        LogicaAplicacion.p7d_10 = p7d_10;
    }

    public static int getP7d_11() {
        return p7d_11;
    }

    public static void setP7d_11(int p7d_11) {
        LogicaAplicacion.p7d_11 = p7d_11;
    }

    public static int getP7d_12() {
        return p7d_12;
    }

    public static void setP7d_12(int p7d_12) {
        LogicaAplicacion.p7d_12 = p7d_12;
    }

    public static int getP7e_1() {
        return p7e_1;
    }

    public static void setP7e_1(int p7e_1) {
        LogicaAplicacion.p7e_1 = p7e_1;
    }

    public static int getP7e_2() {
        return p7e_2;
    }

    public static void setP7e_2(int p7e_2) {
        LogicaAplicacion.p7e_2 = p7e_2;
    }

    public static int getP7e_3() {
        return p7e_3;
    }

    public static void setP7e_3(int p7e_3) {
        LogicaAplicacion.p7e_3 = p7e_3;
    }

    public static int getP7e_4() {
        return p7e_4;
    }

    public static void setP7e_4(int p7e_4) {
        LogicaAplicacion.p7e_4 = p7e_4;
    }

    public static int getP7e_5() {
        return p7e_5;
    }

    public static void setP7e_5(int p7e_5) {
        LogicaAplicacion.p7e_5 = p7e_5;
    }

    public static int getP7e_6() {
        return p7e_6;
    }

    public static void setP7e_6(int p7e_6) {
        LogicaAplicacion.p7e_6 = p7e_6;
    }

    public static int getP7e_7() {
        return p7e_7;
    }

    public static void setP7e_7(int p7e_7) {
        LogicaAplicacion.p7e_7 = p7e_7;
    }

    public static int getP7e_8() {
        return p7e_8;
    }

    public static void setP7e_8(int p7e_8) {
        LogicaAplicacion.p7e_8 = p7e_8;
    }

    public static int getP7e_9() {
        return p7e_9;
    }

    public static void setP7e_9(int p7e_9) {
        LogicaAplicacion.p7e_9 = p7e_9;
    }

    public static int getP7e_10() {
        return p7e_10;
    }

    public static void setP7e_10(int p7e_10) {
        LogicaAplicacion.p7e_10 = p7e_10;
    }

    public static int getP7e_11() {
        return p7e_11;
    }

    public static void setP7e_11(int p7e_11) {
        LogicaAplicacion.p7e_11 = p7e_11;
    }

    public static int getP7e_12() {
        return p7e_12;
    }

    public static void setP7e_12(int p7e_12) {
        LogicaAplicacion.p7e_12 = p7e_12;
    }

    public static int getP7f_1() {
        return p7f_1;
    }

    public static void setP7f_1(int p7f_1) {
        LogicaAplicacion.p7f_1 = p7f_1;
    }

    public static int getP7f_2() {
        return p7f_2;
    }

    public static void setP7f_2(int p7f_2) {
        LogicaAplicacion.p7f_2 = p7f_2;
    }

    public static int getP7f_3() {
        return p7f_3;
    }

    public static void setP7f_3(int p7f_3) {
        LogicaAplicacion.p7f_3 = p7f_3;
    }

    public static int getP7f_4() {
        return p7f_4;
    }

    public static void setP7f_4(int p7f_4) {
        LogicaAplicacion.p7f_4 = p7f_4;
    }

    public static int getP7f_5() {
        return p7f_5;
    }

    public static void setP7f_5(int p7f_5) {
        LogicaAplicacion.p7f_5 = p7f_5;
    }

    public static int getP7f_6() {
        return p7f_6;
    }

    public static void setP7f_6(int p7f_6) {
        LogicaAplicacion.p7f_6 = p7f_6;
    }

    public static int getP7f_7() {
        return p7f_7;
    }

    public static void setP7f_7(int p7f_7) {
        LogicaAplicacion.p7f_7 = p7f_7;
    }

    public static int getP7f_8() {
        return p7f_8;
    }

    public static void setP7f_8(int p7f_8) {
        LogicaAplicacion.p7f_8 = p7f_8;
    }

    public static int getP7f_9() {
        return p7f_9;
    }

    public static void setP7f_9(int p7f_9) {
        LogicaAplicacion.p7f_9 = p7f_9;
    }

    public static int getP7f_10() {
        return p7f_10;
    }

    public static void setP7f_10(int p7f_10) {
        LogicaAplicacion.p7f_10 = p7f_10;
    }

    public static int getP7f_11() {
        return p7f_11;
    }

    public static void setP7f_11(int p7f_11) {
        LogicaAplicacion.p7f_11 = p7f_11;
    }

    public static int getP7f_12() {
        return p7f_12;
    }

    public static void setP7f_12(int p7f_12) {
        LogicaAplicacion.p7f_12 = p7f_12;
    }
    
    
    //--------------------------------------------------------------//
    
    private static void prepararValoresFinalesIniciales(){
    
        primerosValores = "VALUES ("+getId()+",'"+fechaEntrevista+"',"
                          + ""+periodoRevision+",'"+empresa.getTlfEmpresa()+"',"
                          + "'"+empresa.getNombreEmpresa()+"',"
                          + "'"+empresa.getRifEmpresa()+"',"+getYd()+","
                          + ""+getYe()+","+getYfa()+","+getYg()+",";
        
        valoresFinales = ""+p19_1+","+p19_2+","
                       + "'"+entrevistado.getNombreEntrevisado()+"',"
                       + "'"+entrevistado.getTlfEntrevistado()+"',"
                       + "'"+entrevistado.getEmailEntrevistado()+"',"
                       + "'"+horaInicioEntrevista+"','"+horaFinEntrevista+"',"
                       + "'"+comentariosEntrevistap22+"',"+p23+");";
        
        medularString = "P1,P2A,P2B,P2C,P2D,P2E,P2F,P2G,P2H,P2I,P2J,P2K,"+medularString;
        
        valoresMedulares = ""+p1+",";
        for (int i = 0; i< p2s.size(); i++)
              valoresMedulares = valoresMedulares + p2s.get(i).toString() + ",";
        
        System.out.println(insertDinamico+cabeceraInsert+medularString+colaIntsert+primerosValores+valoresMedulares+valoresFinales);
    }
    
    private static void procesarPreguntaTresDataSpss(RegistroLineasTelefonicas p){
        
        medularString = medularString+"P3T,P3_1,P3_2,P3_3,P3_4,P3_5,P3_6,";
        valoresMedulares = valoresMedulares + p3+",";
        
        System.out.println(p.getInserts().size());
        
        for (Historica h: p.getInserts())
            valoresMedulares = valoresMedulares + h.getCantidad()+ ",";
        
        System.out.println(insertDinamico+cabeceraInsert+medularString+colaIntsert+primerosValores+valoresMedulares+valoresFinales);
        
    }
    
    private static void procesarPreguntaCincoDataSpss(RegistroLineasCPA p){
      
        int contador = 1;
        
        if (!p4a_6_N.equals("")){
            
            for (int i = 0; i < p4s.size(); i++) {
               
                if (contador == p4s.size()){
                  
                valoresMedulares = valoresMedulares + p4s.get(i)+ ",'"+p4a_6_N+"',";
                medularString = medularString+"P4A_6,P4A_6_N,";
                
                }
                else {
                    medularString = medularString+"P4A_"+p4s.get(i)+",";
                    valoresMedulares = valoresMedulares + p4s.get(i)+ ",";
                }
                
                contador++;
            }
        }
        else {
            
            for (int i = 0; i < p4s.size(); i++) {
                    medularString = medularString+"P4A_"+p4s.get(i)+",";
                    valoresMedulares = valoresMedulares + p4s.get(i)+ ",";
                    contador++;
            }
        }
        medularString = medularString+"P4B,";
        valoresMedulares = valoresMedulares + p4b+",";
        
        medularString = medularString+"P5T,P5_1,P5_2,P5_3,P5_4,P5_5,P5_6,";
        valoresMedulares = valoresMedulares + p5+",";
        
        for (Historica h: p.getInserts())
            valoresMedulares = valoresMedulares + h.getCantidad()+ ",";
        
        System.out.println(insertDinamico+cabeceraInsert+medularString+colaIntsert+primerosValores+valoresMedulares+valoresFinales);
        
    }
    
    private static void procesarPreguntaDieciochoDataSpss(RegistroAdminRedes p){
      
        int contador = 1;
      
        if  (!otro_p18.equals("")) {
         
         for (Historica h: p.getInserts()){
             
              if (contador == p.getInserts().size()){
                  
                valoresMedulares = valoresMedulares + h.getPp_id()+ ",'"+otro_p18+"',";
                medularString = medularString+"P18_13,P18_13_N,";
                
              }
              else {
                  
                 medularString = medularString+"P18_"+contador+",";
                 valoresMedulares = valoresMedulares + h.getPp_id()+ ","; 
              }
              contador++;
           
         }   
          
       }
        else {
              
            for (Historica h: p.getInserts()){
                medularString = medularString+"P18_"+contador+",";
                valoresMedulares = valoresMedulares + h.getPp_id()+ ","; 
                contador++;
            } 
        }
        System.out.println(insertDinamico+cabeceraInsert+medularString+colaIntsert+primerosValores+valoresMedulares+valoresFinales);
    }
    
    private static void procesarPreguntaDieciseisDataSpss(RegistroDataCenter p){
      
        int contador = 1;
      
        if  (!otro_p16.equals("")) {
         
         for (Historica h: p.getInserts()){
             
              if (contador == p.getInserts().size()){
                  
                valoresMedulares = valoresMedulares + h.getPp_id()+ ",'"+otro_p16+"',";
                medularString = medularString+"P16_6,P16_6_N,";
                
              }
              else {
                  
                 medularString = medularString+"P16_"+contador+",";
                 valoresMedulares = valoresMedulares + h.getPp_id()+ ","; 
              }
              contador++;
           
         }   
          
       }
        else {
              System.out.println(""+p.getInserts().size());
            for (Historica h: p.getInserts()){
                medularString = medularString+"P16_"+contador+",";
                valoresMedulares = valoresMedulares + h.getPp_id()+ ","; 
                contador++;
            } 
        }
       System.out.println(insertDinamico+cabeceraInsert+medularString+colaIntsert+primerosValores+valoresMedulares+valoresFinales); 
    }
    
    private static void procesarPreguntaDiecisieteDataSpss(RegistroCentroContacto p){
      
        int contador = 1;
      
        if  (!otro_p17.equals("")) {
         
         for (Historica h: p.getInserts()){
             
              if (contador == p.getInserts().size()){
                  
                valoresMedulares = valoresMedulares + h.getPp_id()+ ",'"+otro_p17+"',";
                medularString = medularString+"P17_15,P17_15_N,";
                
              }
              else {
                  
                 medularString = medularString+"P17_"+contador+",";
                 valoresMedulares = valoresMedulares + h.getPp_id()+ ","; 
              }
              contador++;
           
         }   
          
       }
        else {
              
            for (Historica h: p.getInserts()){
                medularString = medularString+"P17_"+contador+",";
                valoresMedulares = valoresMedulares + h.getPp_id()+ ","; 
                contador++;
            } 
        }
       System.out.println(insertDinamico+cabeceraInsert+medularString+colaIntsert+primerosValores+valoresMedulares+valoresFinales); 
    }
    
    private static void ProcesarPreguntaPuertosConmutados(){
        
        medularString = medularString+"P6_1,P6_2,P7T,P7_C1,P7_C2,P7_C3,P7_C4,P7_C5,P7_C6,"
                + "P7_F1,P7_F2,P7_F3,P7_F4,P7_F5,P7_F6,P7_F7,P7_F8,P7_F9,P7_F10,"
                + "P7_F11,P7_F12,P7A_1,P7A_2,P7A_3,P7A_4,P7A_5,P7A_6,"
                + "P7A_7,P7A_8,P7A_9,P7A_10,P7A_11,P7A_12,P7B_1,P7B_2,P7B_3,"
                + "P7B_4,P7B_5,P7B_6,P7B_7,P7B_8,P7B_9,P7B_10,P7B_11,P7B_12,"
                + "P7C_1,P7C_2,P7C_3,P7C_4,P7C_5,P7C_6,P7C_7,P7C_8,P7C_9,P7C_10,"
                + "P7C_11,P7C_12,P7D_1,P7D_2,P7D_3,P7D_4,P7D_5,P7D_6,P7D_7,"
                + "P7D_8,P7D_9,P7D_10,P7D_11,P7D_12,P7E_1,P7E_2,P7E_3,P7E_4,"
                + "P7E_5,P7E_6,P7E_7,P7E_8,P7E_9,P7E_10,P7E_11,P7E_12,P7F_1,"
                + "P7F_2,P7F_3,P7F_4,P7F_5,P7F_6,P7F_7,P7F_8,P7F_9,P7F_10,"
                + "P7F_11,P7F_12,P8_F1,P8_F2,P8_F3,P8_F4,P8_F5,P8_F6,P8_F7,"
                + "P8_F8,P8_F9,P8A_1,P8A_2,P8A_3,P8A_4,P8A_5,P8A_6,P8A_7,P8A_8,"
                + "P8A_9,P8B_1,P8B_2,P8B_3,P8B_4,P8B_5,P8B_6,P8B_7,P8B_8,P8B_9,"
                + "P8C_1,P8C_2,P8C_3,P8C_4,P8C_5,P8C_6,P8C_7,P8C_8,P8C_9,"
                + "P8D_1,P8D_2,P8D_3,P8D_4,P8D_5,P8D_6,P8D_7,P8D_8,P8D_9,P8E_1,"
                + "P8E_2,P8E_3,P8E_4,P8E_5,P8E_6,P8E_7,P8E_8,P8E_9,P8F_1,P8F_2,"
                + "P8F_3,P8F_4,P8F_5,P8F_6,P8F_7,P8F_8,P8F_9,";  
        
      int total = getP6_1()+getP6_2();
      
               valoresMedulares = valoresMedulares + String.valueOf(getP6_1())+","+ 
               String.valueOf(getP6_2())+","+ String.valueOf(total)+","+String.valueOf(getP7_c1())+","
               +String.valueOf(getP7_c2())+","+String.valueOf(getP7_c3())+","
               +String.valueOf(getP7_c4())+","+String.valueOf(getP7_c5())+","
               +String.valueOf(getP7_c6())+","+String.valueOf(getP7_f1())+","
               +String.valueOf(getP7_f2())+","+String.valueOf(getP7_f3())+","
               +String.valueOf(getP7_f4())+","+String.valueOf(getP7_f5())
               +","+String.valueOf(getP7_f6())+","+String.valueOf(getP7_f7())
               +","+String.valueOf(getP7_f8())+","+String.valueOf(getP7_f9())
               +","+String.valueOf(getP7_f10())+","+String.valueOf(getP7_f11())
               +","+String.valueOf(getP7_f12())+","+String.valueOf(getP7a_1())
               +","+String.valueOf(getP7a_2())+","+String.valueOf(getP7a_3())+
               ","+String.valueOf(getP7a_4())+","+String.valueOf(getP7a_5())+""
               + ","+String.valueOf(getP7a_6())+","+String.valueOf(getP7a_7())
               +","+String.valueOf(getP7a_8())+","+String.valueOf(getP7a_9())+
               ","+String.valueOf(getP7a_10())+","+String.valueOf(getP7a_11())
               +","+String.valueOf(getP7a_12())+","+String.valueOf(getP7b_1())
               +","+String.valueOf(getP7b_2())+","+String.valueOf(getP7b_3())+
               ","+String.valueOf(getP7b_4())+","+String.valueOf(getP7b_5())+""
               + ","+String.valueOf(getP7b_6())+","+String.valueOf(getP7b_7())
               +","+String.valueOf(getP7b_8())+","+String.valueOf(getP7b_9())+
               ","+String.valueOf(getP7b_10())+","+String.valueOf(getP7b_11())
               +","+String.valueOf(getP7b_12())+","+String.valueOf(getP7c_1())
               +","+String.valueOf(getP7c_2())+","+String.valueOf(getP7c_3())+
               ","+String.valueOf(getP7c_4())+","+String.valueOf(getP7c_5())+""
               + ","+String.valueOf(getP7c_6())+","+String.valueOf(getP7c_7())
               +","+String.valueOf(getP7c_8())+","+String.valueOf(getP7c_9())+
               ","+String.valueOf(getP7c_10())+","+String.valueOf(getP7c_11())
               +","+String.valueOf(getP7c_12())+","+String.valueOf(getP7d_1())
               +","+String.valueOf(getP7d_2())+","+String.valueOf(getP7d_3())+
               ","+String.valueOf(getP7d_4())+","+String.valueOf(getP7d_5())+""
               + ","+String.valueOf(getP7d_6())+","+String.valueOf(getP7d_7())
               +","+String.valueOf(getP7d_8())+","+String.valueOf(getP7d_9())+
               ","+String.valueOf(getP7d_10())+","+String.valueOf(getP7d_11())
               +","+String.valueOf(getP7d_12())+","+String.valueOf(getP7e_1())
               +","+String.valueOf(getP7e_2())+","+String.valueOf(getP7e_3())+
               ","+String.valueOf(getP7e_4())+","+String.valueOf(getP7e_5())+""
               + ","+String.valueOf(getP7e_6())+","+String.valueOf(getP7e_7())
               +","+String.valueOf(getP7e_8())+","+String.valueOf(getP7e_9())+
               ","+String.valueOf(getP7e_10())+","+String.valueOf(getP7e_11())
               +","+String.valueOf(getP7e_12())+","+String.valueOf(getP7f_1())
               +","+String.valueOf(getP7f_2())+","+String.valueOf(getP7f_3())+
               ","+String.valueOf(getP7f_4())+","+String.valueOf(getP7f_5())+""
               + ","+String.valueOf(getP7f_6())+","+String.valueOf(getP7f_7())
               +","+String.valueOf(getP7f_8())+","+String.valueOf(getP7f_9())+
               ","+String.valueOf(getP7f_10())+","+String.valueOf(getP7f_11())
               +","+String.valueOf(getP7f_12())+","+String.valueOf(getP8_f1())
               +","+String.valueOf(getP8_f2())+","+String.valueOf(getP8_f3())+
               ","+String.valueOf(getP8_f4())+","+String.valueOf(getP8_f5())+""
               + ","+String.valueOf(getP8_f6())+","+String.valueOf(getP8_f7())
               +","+String.valueOf(getP8_f8())+","+String.valueOf(getP8_f9())+
               ","+String.valueOf(getP8a_1())+","+String.valueOf(getP8a_2())+""
               + ","+String.valueOf(getP8a_3())+","+String.valueOf(getP8a_4())
               +","+String.valueOf(getP8a_5())+","+String.valueOf(getP8a_6())+
               ","+String.valueOf(getP8a_7())+","+String.valueOf(getP8a_8())+""
               + ","+String.valueOf(getP8a_9())+","+String.valueOf(getP8b_1())
               +","+String.valueOf(getP8b_2())+","+String.valueOf(getP8b_3())+
               ","+String.valueOf(getP8b_4())+","+String.valueOf(getP8b_5())+""
               + ","+String.valueOf(getP8b_6())+","+String.valueOf(getP8b_7())
               +","+String.valueOf(getP8b_8())+","+String.valueOf(getP8b_9())+
               ","+String.valueOf(getP8c_1())+","+String.valueOf(getP8c_2())+""
               + ","+String.valueOf(getP8c_3())+","+String.valueOf(getP8c_4())
               +","+String.valueOf(getP8c_5())+","+String.valueOf(getP8c_6())+
               ","+String.valueOf(getP8c_7())+","+String.valueOf(getP8c_8())+""
               + ","+String.valueOf(getP8c_9())+","+String.valueOf(getP8d_1())
               +","+String.valueOf(getP8d_2())+","+String.valueOf(getP8d_3())+
               ","+String.valueOf(getP8d_4())+","+String.valueOf(getP8d_5())+""
               + ","+String.valueOf(getP8d_6())+","+String.valueOf(getP8d_7())
               +","+String.valueOf(getP8d_8())+","+String.valueOf(getP8d_9())+
               ","+String.valueOf(getP8e_1())+","+String.valueOf(getP8e_2())+""
               + ","+String.valueOf(getP8e_3())+","+String.valueOf(getP8e_4())
               +","+String.valueOf(getP8e_5())+","+String.valueOf(getP8e_6())+
               ","+String.valueOf(getP8e_7())+","+String.valueOf(getP8e_8())+""
               + ","+String.valueOf(getP8e_9())+","+String.valueOf(getP8f_1())
               +","+String.valueOf(getP8f_2())+","+String.valueOf(getP8f_3())+
               ","+String.valueOf(getP8f_4())+","+String.valueOf(getP8f_5())+""
               + ","+String.valueOf(getP8f_6())+","+String.valueOf(getP8f_7())
               +","+String.valueOf(getP8f_8())+","+String.valueOf(getP8f_9())+",";

       System.out.println(insertDinamico+cabeceraInsert+medularString+colaIntsert+primerosValores+valoresMedulares+valoresFinales);
    }
    
    private static void ProcesarPreguntaEnlacesDedicados(){
       
        medularString = medularString + "P9_C1,P9_C2,P9_C3,P9_C4,P9_C5,P9_C6,"
                + "P9_F1,P9_F2,P9_F3,P9_F4,P9_F5,P9_F6,P9_F7,P9_F8,P9_F9,P9_F10,"
                + "P9_F11,P9_F12,P9A_1,P9A_2,P9A_3,P9A_4,P9A_5,P9A_6,"
                + "P9A_7,P9A_8,P9A_9,P9A_10,P9A_11,P9A_12,P9B_1,P9B_2,P9B_3,"
                + "P9B_4,P9B_5,P9B_6,P9B_7,P9B_8,P9B_9,P9B_10,P9B_11,P9B_12,"
                + "P9C_1,P9C_2,P9C_3,P9C_4,P9C_5,P9C_6,P9C_7,P9C_8,P9C_9,P9C_10,"
                + "P9C_11,P9C_12,P9D_1,P9D_2,P9D_3,P9D_4,P9D_5,P9D_6,P9D_7,"
                + "P9D_8,P9D_9,P9D_10,P9D_11,P9D_12,P9E_1,P9E_2,P9E_3,P9E_4,"
                + "P9E_5,P9E_6,P9E_7,P9E_8,P9E_9,P9E_10,P9E_11,P9E_12,P9F_1,"
                + "P9F_2,P9F_3,P9F_4,P9F_5,P9F_6,P9F_7,P9F_8,P9F_9,P9F_10,"
                + "P9F_11,P9F_12,P10_F1,P10_F2,P10_F3,P10_F4,P10_F5,P10_F6,P10_F7,"
                + "P10_F8,P10_F9,P10A_1,P10A_2,P10A_3,P10A_4,P10A_5,P10A_6,P10A_7,P10A_8,"
                + "P10A_9,P10B_1,P10B_2,P10B_3,P10B_4,P10B_5,P10B_6,P10B_7,P10B_8,P10B_9,"
                + "P10C_1,P10C_2,P10C_3,P10C_4,P10C_5,P10C_6,P10C_7,P10C_8,P10C_9,"
                + "P10D_1,P10D_2,P10D_3,P10D_4,P10D_5,P10D_6,P10D_7,P10D_8,P10D_9,P10E_1,"
                + "P10E_2,P10E_3,P10E_4,P10E_5,P10E_6,P10E_7,P10E_8,P10E_9,P10F_1,P10F_2,"
                + "P10F_3,P10F_4,P10F_5,P10F_6,P10F_7,P10F_8,P10F_9,";
        
        valoresMedulares = valoresMedulares 
               + String.valueOf(getP9_c1())+","+String.valueOf(getP9_c2())+","
                +String.valueOf(getP9_c3())+","+String.valueOf(getP9_c4())+","
                +String.valueOf(getP9_c5())+","+String.valueOf(getP9_c6())+","
                +String.valueOf(getP9_f1())+","+String.valueOf(getP9_f2())+","
                +String.valueOf(getP9_f3())+","+String.valueOf(getP9_f4())+","
                +String.valueOf(getP9_f5())+","+String.valueOf(getP9_f6())+","
                +String.valueOf(getP9_f7())+","+String.valueOf(getP9_f8())+","
                +String.valueOf(getP9_f9())+","+String.valueOf(getP9_f10())+","
                +String.valueOf(getP9_f11())+","+String.valueOf(getP9_f12())+","
                +String.valueOf(getP9a_1())+","+String.valueOf(getP9a_2())+","
                +String.valueOf(getP9a_3())+","+String.valueOf(getP9a_4())+","
                +String.valueOf(getP9a_5())+","+String.valueOf(getP9a_6())+","
                +String.valueOf(getP9a_7())+","+String.valueOf(getP9a_8())+","
                +String.valueOf(getP9a_9())+","+String.valueOf(getP9a_10())+","
                +String.valueOf(getP9a_11())+","+String.valueOf(getP9a_12())+","
                +String.valueOf(getP9b_1())+","+String.valueOf(getP9b_2())+","
                +String.valueOf(getP9b_3())+","+String.valueOf(getP9b_4())+","
                +String.valueOf(getP9b_5())+","+String.valueOf(getP9b_6())+","
                +String.valueOf(getP9b_7())+","+String.valueOf(getP9b_8())+","
                +String.valueOf(getP9b_9())+","+String.valueOf(getP9b_10())+","
                +String.valueOf(getP9b_11())+","+String.valueOf(getP9b_12())+","
                +String.valueOf(getP9c_1())+","+String.valueOf(getP9c_2())+","
                +String.valueOf(getP9c_3())+","+String.valueOf(getP9c_4())+","
                +String.valueOf(getP9c_5())+","+String.valueOf(getP9c_6())+","
                +String.valueOf(getP9c_7())+","+String.valueOf(getP9c_8())+","
                +String.valueOf(getP9c_9())+","+String.valueOf(getP9c_10())+","
                +String.valueOf(getP9c_11())+","+String.valueOf(getP9c_12())+","
                +String.valueOf(getP9d_1())+","+String.valueOf(getP9d_2())+","
                +String.valueOf(getP9d_3())+","+String.valueOf(getP9d_4())+","
                +String.valueOf(getP9d_5())+","+String.valueOf(getP9d_6())+","
                +String.valueOf(getP9d_7())+","+String.valueOf(getP9d_8())+","
                +String.valueOf(getP9d_9())+","+String.valueOf(getP9d_10())+","
                +String.valueOf(getP9d_11())+","+String.valueOf(getP9d_12())+","
                +String.valueOf(getP9e_1())+","+String.valueOf(getP9e_2())+","
                +String.valueOf(getP9e_3())+","+String.valueOf(getP9e_4())+","
                +String.valueOf(getP9e_5())+","+String.valueOf(getP9e_6())+","
                +String.valueOf(getP9e_7())+","+String.valueOf(getP9e_8())+","
                +String.valueOf(getP9e_9())+","+String.valueOf(getP9e_10())+","
                +String.valueOf(getP9e_11())+","+String.valueOf(getP9e_12())+","
                +String.valueOf(getP9f_1())+","+String.valueOf(getP9f_2())+","
                +String.valueOf(getP9f_3())+","+String.valueOf(getP9f_4())+","
                +String.valueOf(getP9f_5())+","+String.valueOf(getP9f_6())+","
                +String.valueOf(getP9f_7())+","+String.valueOf(getP9f_8())+","
                +String.valueOf(getP9f_9())+","+String.valueOf(getP9f_10())+","
                +String.valueOf(getP9f_11())+","+String.valueOf(getP9f_12())+","
                +String.valueOf(getP10_f1())+","+String.valueOf(getP10_f2())+","
                +String.valueOf(getP10_f3())+","+String.valueOf(getP10_f4())+","
                +String.valueOf(getP10_f5())+","+String.valueOf(getP10_f6())+","
                +String.valueOf(getP10_f7())+","+String.valueOf(getP10_f8())+","
                +String.valueOf(getP10_f9())+","+String.valueOf(getP10a_1())+","
                +String.valueOf(getP10a_2())+","+String.valueOf(getP10a_3())+","
                +String.valueOf(getP10a_4())+","+String.valueOf(getP10a_5())+","
                +String.valueOf(getP10a_6())+","+String.valueOf(getP10a_7())+","
                +String.valueOf(getP10a_8())+","+String.valueOf(getP10a_9())+","
                +String.valueOf(getP10b_1())+","+String.valueOf(getP10b_2())+","
                +String.valueOf(getP10b_3())+","+String.valueOf(getP10b_4())+","
                +String.valueOf(getP10b_5())+","+String.valueOf(getP10b_6())+","
                +String.valueOf(getP10b_7())+","+String.valueOf(getP10b_8())+","
                +String.valueOf(getP10b_9())+","+String.valueOf(getP10c_1())+","
                +String.valueOf(getP10c_2())+","+String.valueOf(getP10c_3())+","
                +String.valueOf(getP10c_4())+","+String.valueOf(getP10c_5())+","
                +String.valueOf(getP10c_6())+","+String.valueOf(getP10c_7())+","
                +String.valueOf(getP10c_8())+","+String.valueOf(getP10c_9())+","
                +String.valueOf(getP10d_1())+","+String.valueOf(getP10d_2())+","
                +String.valueOf(getP10d_3())+","+String.valueOf(getP10d_4())+","
                +String.valueOf(getP10d_5())+","+String.valueOf(getP10d_6())+","
                +String.valueOf(getP10d_7())+","+String.valueOf(getP10d_8())+","
                +String.valueOf(getP10d_9())+","+String.valueOf(getP10e_1())+","
                +String.valueOf(getP10e_2())+","+String.valueOf(getP10e_3())+","
                +String.valueOf(getP10e_4())+","+String.valueOf(getP10e_5())+","
                +String.valueOf(getP10e_6())+","+String.valueOf(getP10e_7())+","
                +String.valueOf(getP10e_8())+","+String.valueOf(getP10e_9())+","
                +String.valueOf(getP10f_1())+","+String.valueOf(getP10f_2())+","
                +String.valueOf(getP10f_3())+","+String.valueOf(getP10f_4())+","
                +String.valueOf(getP10f_5())+","+String.valueOf(getP10f_6())+","
                +String.valueOf(getP10f_7())+","+String.valueOf(getP10f_8())+","
                +String.valueOf(getP10f_9())+",";

        System.out.println(insertDinamico+cabeceraInsert+medularString+colaIntsert+primerosValores+valoresMedulares+valoresFinales);
    }
    
    private static void ProcesarPreguntaLineasMoviles(){
        
         medularString = medularString +
                 "P14T,P14_F1,P14_F2,P14_F3,P14_F4,P15A_F1,P15A_F2,P15A_F3,"
                 + "P15A_F4,P15A_F5,P15A_F6,P15A_F7,P15B_F1,P15B_F2,P15B_F3,"
                 + "P15B_F4,P15B_F5,P15B_F6,P15B_F7,";
         
        valoresMedulares = valoresMedulares + String.valueOf(getP14t())
                +","+String.valueOf(getP14_f1())+","+String.valueOf(getP14_f2())
                +","+String.valueOf(getP14_f3())+","+String.valueOf(getP14_f4())
                +","+String.valueOf(getP15a_f1())+","+String.valueOf(getP15a_f2())
                +","+String.valueOf(getP15a_f3())+","+String.valueOf(getP15a_f4())
                +","+String.valueOf(getP15a_f5())+","+String.valueOf(getP15a_f6())
                +","+String.valueOf(getP15a_f7())+","+String.valueOf(getP15b_f1())
                +","+String.valueOf(getP15b_f2())+","+String.valueOf(getP15b_f3())
                +","+String.valueOf(getP15b_f4())+","+String.valueOf(getP15b_f5())
                +","+String.valueOf(getP15b_f6())+","+String.valueOf(getP15b_f7())+",";
        
        System.out.println(insertDinamico+cabeceraInsert+medularString+colaIntsert+primerosValores+valoresMedulares+valoresFinales);
    }
    
    private static void procesarInternetDialUp(){
        
        medularString = medularString +
                 "P11AT,P11A_C1,P11A_C2,P11A_C3,P11A_C4,P11A_C5,P11A_C6,"
                + "P11A_F1,P11A_F2,P11A_F4,P11A_F5,P11A_F6,P11A_F7,P11A_F8,"
                + "P11A_F9,P11A_F10,P11A_F11,P11AA_1,P11AA_2,P11AA_4,P11AA_5,"
                + "P11AA_6,P11AA_7,P11AA_8,P11AA_9,P11AA_10,P11AA_11,P11AB_1,"
                + "P11AB_2,P11AB_4,P11AB_5,P11AB_6,P11AB_7,P11AB_8,P11AB_9,"
                + "P11AB_10,P11AB_11,P11AC_1,P11AC_2,P11AC_4,P11AC_5,P11AC_6,"
                + "P11AC_7,P11AC_8,P11AC_9,P11AC_10,P11AC_11,P11AD_1,P11AD_2,"
                + "P11AD_4,P11AD_5,P11AD_6,P11AD_7,P11AD_8,P11AD_9,P11AD_10,"
                + "P11AD_11,P11AE_1,P11AE_2,P11AE_4,P11AE_5,P11AE_6,P11AE_7,"
                + "P11AE_8,P11AE_9,P11AE_10,P11AE_11,P11AF_1,P11AF_2,P11AF_4,"
                + "P11AF_5,P11AF_6,P11AF_7,P11AF_8,P11AF_9,P11AF_10,P11AF_11,";
        
        valoresMedulares = valoresMedulares + String.valueOf(getP11at())+","
                +String.valueOf(getP11a_c1())+","+String.valueOf(getP11a_c2())
                +","+String.valueOf(getP11a_c3())+","+String.valueOf(getP11a_c4())
                +","+String.valueOf(getP11a_c5())+","+String.valueOf(getP11a_c6())
                +","+String.valueOf(getP11a_f1())+","+String.valueOf(getP11a_f2())
                +","+String.valueOf(getP11a_f4())+","+String.valueOf(getP11a_f5())
                +","+String.valueOf(getP11a_f6())+","+String.valueOf(getP11a_f7())
                +","+String.valueOf(getP11a_f8())+","+String.valueOf(getP11a_f9())
                +","+String.valueOf(getP11a_f10())+","+String.valueOf(getP11a_f11())
                +","+String.valueOf(getP11aa_1())+","+String.valueOf(getP11aa_2())
                +","+String.valueOf(getP11aa_4())+","+String.valueOf(getP11aa_5())
                +","+String.valueOf(getP11aa_6())+","+String.valueOf(getP11aa_7())
                +","+String.valueOf(getP11aa_8())+","+String.valueOf(getP11aa_9())
                +","+String.valueOf(getP11aa_10())+","+String.valueOf(getP11aa_11())
                +","+String.valueOf(getP11ab_1())+","+String.valueOf(getP11ab_2())
                +","+String.valueOf(getP11ab_4())+","+String.valueOf(getP11ab_5())
                +","+String.valueOf(getP11ab_6())+","+String.valueOf(getP11ab_7())
                +","+String.valueOf(getP11ab_8())+","+String.valueOf(getP11ab_9())
                +","+String.valueOf(getP11ab_10())+","+String.valueOf(getP11ab_11())
                +","+String.valueOf(getP11ac_1())+","+String.valueOf(getP11ac_2())
                +","+String.valueOf(getP11ac_4())+","+String.valueOf(getP11ac_5())
                +","+String.valueOf(getP11ac_6())+","+String.valueOf(getP11ac_7())
                +","+String.valueOf(getP11ac_8())+","+String.valueOf(getP11ac_9())
                +","+String.valueOf(getP11ac_10())+","+String.valueOf
                (getP11ac_11())+","+String.valueOf(getP11ad_1())+","+
                String.valueOf(getP11ad_2())+","+String.valueOf(getP11ad_4())
                +","+String.valueOf(getP11ad_5())+","+String.valueOf(
                getP11ad_6())+","+String.valueOf(getP11ad_7())+","+
                String.valueOf(getP11ad_8())+","+String.valueOf(getP11ad_9())+
                ","+String.valueOf(getP11ad_10())+","+String.valueOf(
                getP11ad_11())+","+String.valueOf(getP11ae_1())+","
                +String.valueOf(getP11ae_2())+","+String.valueOf(getP11ae_4())
                +","+String.valueOf(getP11ae_5())+","+String.valueOf(
                getP11ae_6())+","+String.valueOf(getP11ae_7())+","
                +String.valueOf(getP11ae_8())+","+String.valueOf(getP11ae_9())
                +","+String.valueOf(getP11ae_10())+","+String.valueOf(
                getP11ae_11())+","+String.valueOf(getP11af_1())+","
                +String.valueOf(getP11af_2())+","+String.valueOf(getP11af_4())
                +","+String.valueOf(getP11af_5())+","+String.valueOf(
                getP11af_6())+","+String.valueOf(getP11af_7())+","+
                String.valueOf(getP11af_8())+","+String.valueOf(getP11af_9())+
                ","+String.valueOf(getP11af_10())+","
                +String.valueOf(getP11af_11())+",";
        
         System.out.println(insertDinamico+cabeceraInsert+medularString+colaIntsert+primerosValores+valoresMedulares+valoresFinales);

    }
    
    private static void procesarInternetDedicado(){
           
        medularString = medularString + "P11CT,P11C_C1,P11C_C2,P11C_C3,P11C_C4,P11C_C5,P11C_C6,"
                + "P11C_F1,P11C_F2,P11C_F4,P11C_F5,P11C_F6,P11C_F7,P11C_F8,"
                + "P11C_F9,P11C_F10,P11C_F11,P11CA_1,P11CA_2,P11CA_4,P11CA_5,"
                + "P11CA_6,P11CA_7,P11CA_8,P11CA_9,P11CA_10,P11CA_11,P11CB_1,"
                + "P11CB_2,P11CB_4,P11CB_5,P11CB_6,P11CB_7,P11CB_8,P11CB_9,"
                + "P11CB_10,P11CB_11,P11CC_1,P11CC_2,P11CC_4,P11CC_5,P11CC_6,"
                + "P11CC_7,P11CC_8,P11CC_9,P11CC_10,P11CC_11,P11CD_1,P11CD_2,"
                + "P11CD_4,P11CD_5,P11CD_6,P11CD_7,P11CD_8,P11CD_9,P11CD_10,"
                + "P11CD_11,P11CE_1,P11CE_2,P11CE_4,P11CE_5,P11CE_6,P11CE_7,"
                + "P11CE_8,P11CE_9,P11CE_10,P11CE_11,";
                
        
        valoresMedulares = valoresMedulares + String.valueOf(getP11ct())+","
                +String.valueOf(getP11c_c1())+","+String.valueOf(getP11c_c2())
                +","+String.valueOf(getP11c_c3())+","+String.valueOf(getP11c_c4())
                +","+String.valueOf(getP11c_c5())+","+String.valueOf(getP11c_c6())
                +","+String.valueOf(getP11c_f1())+","+String.valueOf(getP11c_f2())
                +","+String.valueOf(getP11c_f4())+","+String.valueOf(getP11c_f5())
                +","+String.valueOf(getP11c_f6())+","+String.valueOf(getP11c_f7())
                +","+String.valueOf(getP11c_f8())+","+String.valueOf(getP11c_f9())
                +","+String.valueOf(getP11c_f10())+","+String.valueOf(getP11c_f11())
                +","+String.valueOf(getP11ca_1())+","+String.valueOf(getP11ca_2())
                +","+String.valueOf(getP11ca_4())+","+String.valueOf(getP11ca_5())
                +","+String.valueOf(getP11ca_6())+","+String.valueOf(getP11ca_7())
                +","+String.valueOf(getP11ca_8())+","+String.valueOf(getP11ca_9())
                +","+String.valueOf(getP11ca_10())+","+String.valueOf(getP11ca_11())
                +","+String.valueOf(getP11cb_1())+","+String.valueOf(getP11cb_2())
                +","+String.valueOf(getP11cb_4())+","+String.valueOf(getP11cb_5())
                +","+String.valueOf(getP11cb_6())+","+String.valueOf(getP11cb_7())
                +","+String.valueOf(getP11cb_8())+","+String.valueOf(getP11cb_9())
                +","+String.valueOf(getP11cb_10())+","+String.valueOf(getP11cb_11())
                +","+String.valueOf(getP11cc_1())+","+String.valueOf(getP11cc_2())
                +","+String.valueOf(getP11cc_4())+","+String.valueOf(getP11cc_5())
                +","+String.valueOf(getP11cc_6())+","+String.valueOf(getP11cc_7())
                +","+String.valueOf(getP11cc_8())+","+String.valueOf(getP11cc_9())
                +","+String.valueOf(getP11cc_10())+","+String.valueOf
                (getP11cc_11())+","+String.valueOf(getP11cd_1())+","+
                String.valueOf(getP11cd_2())+","+String.valueOf(getP11cd_4())
                +","+String.valueOf(getP11cd_5())+","+String.valueOf(
                getP11cd_6())+","+String.valueOf(getP11cd_7())+","+
                String.valueOf(getP11cd_8())+","+String.valueOf(getP11cd_9())+
                ","+String.valueOf(getP11cd_10())+","+String.valueOf(
                getP11cd_11())+","+String.valueOf(getP11ce_1())+","
                +String.valueOf(getP11ce_2())+","+String.valueOf(getP11ce_4())
                +","+String.valueOf(getP11ce_5())+","+String.valueOf(
                getP11ce_6())+","+String.valueOf(getP11ce_7())+","
                +String.valueOf(getP11ce_8())+","+String.valueOf(getP11ce_9())
                +","+String.valueOf(getP11ce_10())+","+String.valueOf(
                getP11ce_11())+",";
    }
    
    private static void procesarInternetBandaAncha(){
        
        medularString = medularString +
                 "P11BT,P11B_C1,P11B_C2,P11B_C3,P11B_C4,P11B_C5,P11B_C6,"
                + "P11B_F1,P11B_F2,P11B_F4,P11B_F5,P11B_F6,P11B_F7,P11B_F8,"
                + "P11B_F9,P11B_F10,P11B_F11,P11BA_1,P11BA_2,P11BA_4,P11BA_5,"
                + "P11BA_6,P11BA_7,P11BA_8,P11BA_9,P11BA_10,P11BA_11,P11BB_1,"
                + "P11BB_2,P11BB_4,P11BB_5,P11BB_6,P11BB_7,P11BB_8,P11BB_9,"
                + "P11BB_10,P11BB_11,P11BC_1,P11BC_2,P11BC_4,P11BC_5,P11BC_6,"
                + "P11BC_7,P11BC_8,P11BC_9,P11BC_10,P11BC_11,P11BD_1,P11BD_2,"
                + "P11BD_4,P11BD_5,P11BD_6,P11BD_7,P11BD_8,P11BD_9,P11BD_10,"
                + "P11BD_11,P11BE_1,P11BE_2,P11BE_4,P11BE_5,P11BE_6,P11BE_7,"
                + "P11BE_8,P11BE_9,P11BE_10,P11BE_11,P11BF_1,P11BF_2,P11BF_4,"
                + "P11BF_5,P11BF_6,P11BF_7,P11BF_8,P11BF_9,P11BF_10,P11BF_11,";
        
        valoresMedulares = valoresMedulares + String.valueOf(getP11bt())+","
                +String.valueOf(getP11b_c1())+","+String.valueOf(getP11b_c2())
                +","+String.valueOf(getP11b_c3())+","+String.valueOf(getP11b_c4())
                +","+String.valueOf(getP11b_c5())+","+String.valueOf(getP11b_c6())
                +","+String.valueOf(getP11b_f1())+","+String.valueOf(getP11b_f2())
                +","+String.valueOf(getP11b_f4())+","+String.valueOf(getP11b_f5())
                +","+String.valueOf(getP11b_f6())+","+String.valueOf(getP11b_f7())
                +","+String.valueOf(getP11b_f8())+","+String.valueOf(getP11b_f9())
                +","+String.valueOf(getP11b_f10())+","+String.valueOf(getP11b_f11())
                +","+String.valueOf(getP11ba_1())+","+String.valueOf(getP11ba_2())
                +","+String.valueOf(getP11ba_4())+","+String.valueOf(getP11ba_5())
                +","+String.valueOf(getP11ba_6())+","+String.valueOf(getP11ba_7())
                +","+String.valueOf(getP11ba_8())+","+String.valueOf(getP11ba_9())
                +","+String.valueOf(getP11ba_10())+","+String.valueOf(getP11ba_11())
                +","+String.valueOf(getP11bb_1())+","+String.valueOf(getP11bb_2())
                +","+String.valueOf(getP11bb_4())+","+String.valueOf(getP11bb_5())
                +","+String.valueOf(getP11bb_6())+","+String.valueOf(getP11bb_7())
                +","+String.valueOf(getP11bb_8())+","+String.valueOf(getP11bb_9())
                +","+String.valueOf(getP11bb_10())+","+String.valueOf(getP11bb_11())
                +","+String.valueOf(getP11bc_1())+","+String.valueOf(getP11bc_2())
                +","+String.valueOf(getP11bc_4())+","+String.valueOf(getP11bc_5())
                +","+String.valueOf(getP11bc_6())+","+String.valueOf(getP11bc_7())
                +","+String.valueOf(getP11bc_8())+","+String.valueOf(getP11bc_9())
                +","+String.valueOf(getP11bc_10())+","+String.valueOf
                (getP11bc_11())+","+String.valueOf(getP11bd_1())+","+
                String.valueOf(getP11bd_2())+","+String.valueOf(getP11bd_4())
                +","+String.valueOf(getP11bd_5())+","+String.valueOf(
                getP11bd_6())+","+String.valueOf(getP11bd_7())+","+
                String.valueOf(getP11bd_8())+","+String.valueOf(getP11bd_9())+
                ","+String.valueOf(getP11bd_10())+","+String.valueOf(
                getP11bd_11())+","+String.valueOf(getP11be_1())+","
                +String.valueOf(getP11be_2())+","+String.valueOf(getP11be_4())
                +","+String.valueOf(getP11be_5())+","+String.valueOf(
                getP11be_6())+","+String.valueOf(getP11be_7())+","
                +String.valueOf(getP11be_8())+","+String.valueOf(getP11be_9())
                +","+String.valueOf(getP11be_10())+","+String.valueOf(
                getP11be_11())+","+String.valueOf(getP11bf_1())+","
                +String.valueOf(getP11bf_2())+","+String.valueOf(getP11bf_4())
                +","+String.valueOf(getP11bf_5())+","+String.valueOf(
                getP11bf_6())+","+String.valueOf(getP11bf_7())+","+
                String.valueOf(getP11bf_8())+","+String.valueOf(getP11bf_9())+
                ","+String.valueOf(getP11bf_10())+","
                +String.valueOf(getP11bf_11())+",";
        
         System.out.println(insertDinamico+cabeceraInsert+medularString+colaIntsert+primerosValores+valoresMedulares+valoresFinales);
    }
    
    private static void procesarDispositivosInternet(RegistroDispositivosInternet p){
       
        int contador = 1;
       
        for (Historica h: p.getInserts()){
          if (h.getTipoDispositivo().equals("f")){ 
              medularString = medularString+"P12A_"+contador+",";
                valoresMedulares = valoresMedulares + h.getPp_id()+ ","; 
                contador++;
          }
        }
        
        contador = 1;
        
        if (!p12b_3_N.equals("")){
            
            for (Historica h: p.getInserts()){
                
                if (h.getTipoDispositivo().equals("m")){  
                 
                    if (contador == p.getInserts().size()){

                      valoresMedulares = valoresMedulares + h.getPp_id()+ ",'"+p12b_3_N+"',";
                      medularString = medularString+"P12B_3,P12_3_N,";

                    }
                    else {

                       medularString = medularString+"P12B_"+contador+",";
                       valoresMedulares = valoresMedulares + h.getPp_id()+ ","; 
                    }
                    contador++;
              }
            }
        }
        
        else {
            for (Historica h: p.getInserts()){
                
                if (h.getTipoDispositivo().equals("m")){  
                       medularString = medularString+"P12B_"+contador+",";
                       valoresMedulares = valoresMedulares + h.getPp_id()+ ",";
                       contador++;
                }
                    
              }
        }
        System.out.println(insertDinamico+cabeceraInsert+medularString+colaIntsert+primerosValores+valoresMedulares+valoresFinales);           
    }
    
    public static void hacerInsert(){
              
        LogicaAplicacion.setMedularString("");
        LogicaAplicacion.setValoresMedulares("");
        prepararValoresFinalesIniciales();
        System.out.println(pantallasAplicacion.size());
        
        for (PantallaAplicacion p: pantallasAplicacion){
            
            switch (p.getNroPregunta()){
                
            case 1: procesarPreguntaTresDataSpss(((RegistroLineasTelefonicas)(p.getPantalla())));
                    System.out.println("Insercion de datos en pregunta: "+p.getNroPregunta());//((RegistroLineasTelefonicas) (pantallasAplicacion.get(posicionActual).getPantalla())).hacerVisibleDespuesSiguiente(true,posicionActual);
                    break;
            case 2: procesarPreguntaCincoDataSpss((RegistroLineasCPA)(p.getPantalla()));
                System.out.println("Insercion de datos en pregunta: "+p.getNroPregunta());
                //((RegistroLineasCPA) (pantallasAplicacion.get(posicionActual).getPantalla())).hacerVisibleDespuesSiguiente(true,posicionActual);
                    break;
            case 3: ProcesarPreguntaPuertosConmutados();
                    System.out.println("Insercion de datos en pregunta: "+p.getNroPregunta());
                //((RegistroPuertosConmutados) (pantallasAplicacion.get(posicionActual).getPantalla())).hacerVisibleDespuesSiguiente(true,posicionActual);
                    break;
            case 4: ProcesarPreguntaEnlacesDedicados();
                System.out.println("Insercion de datos en pregunta: "+p.getNroPregunta());
                //((RegistroEnlancesDedicados) (pantallasAplicacion.get(posicionActual).getPantalla())).hacerVisibleDespuesSiguiente(true,posicionActual);
                    break;
            case 5: procesarInternetDialUp();
                System.out.println("Insercion de datos en pregunta: "+p.getNroPregunta());
                //((RegistroInternetDialUp) (pantallasAplicacion.get(posicionActual).getPantalla())).hacerVisibleDespuesSiguiente(true,posicionActual);
                    break;
            case 6: procesarInternetBandaAncha();
                System.out.println("Insercion de datos en pregunta: "+p.getNroPregunta());
                //((RegistroInternetBandaAncha) (pantallasAplicacion.get(posicionActual).getPantalla())).hacerVisibleDespuesSiguiente(true,posicionActual);
                    break;
            case 7: procesarInternetDedicado();
                System.out.println("Insercion de datos en pregunta: "+p.getNroPregunta());
                //((RegistroInternetDedicado) (pantallasAplicacion.get(posicionActual).getPantalla())).hacerVisibleDespuesSiguiente(true,posicionActual);
                    break;
            case 8: ProcesarPreguntaLineasMoviles();
                System.out.println("Insercion de datos en pregunta: "+p.getNroPregunta());
                //((RegistroTelefoniaMovil) (pantallasAplicacion.get(posicionActual).getPantalla())).hacerVisibleDespuesSiguiente(true,posicionActual);
                    break;
            case 9: procesarPreguntaDieciseisDataSpss(((RegistroDataCenter)(p.getPantalla())));
                    System.out.println("Insercion de datos en pregunta: "+p.getNroPregunta());
                //((RegistroDataCenter) (pantallasAplicacion.get(posicionActual).getPantalla())).hacerVisibleDespuesSiguiente(true,posicionActual);
                    break;
            case 10: procesarPreguntaDiecisieteDataSpss(((RegistroCentroContacto)(p.getPantalla())));
                    System.out.println("Insercion de datos en pregunta: "+p.getNroPregunta());
                //((RegistroCentroContacto) (pantallasAplicacion.get(posicionActual).getPantalla())).hacerVisibleDespuesSiguiente(true,posicionActual);
                    break;
            case 11: procesarPreguntaDieciochoDataSpss(((RegistroAdminRedes)(p.getPantalla()))); 
                    System.out.println("Insercion de datos en pregunta: "+p.getNroPregunta());
                //((RegistroAdminRedes) (pantallasAplicacion.get(posicionActual).getPantalla())).hacerVisibleDespuesSiguiente(true,posicionActual);
                    break;
            case 12: procesarDispositivosInternet(((RegistroDispositivosInternet)(p.getPantalla())));
                     System.out.println("Insercion de datos en pregunta: "+p.getNroPregunta());
                      
                      if (hayInternetBandaAncha()){
                          procesarInsertVelocidadesBandaAncha();
                          System.out.println("Cargare servicios de banda ancha");
                      }
                      
                      if (hayInternetDedicado()){
                          procesarInsertVelocidadesDedicado();
                          System.out.println("Cargare servicios de dedicado");
                      }
                                           
                    break;
            default: 
                    System.out.println("Insercion de datos en pregunta: "+p.getNroPregunta());
                //((DatosClasificacion) (pantallasAplicacion.get(posicionActual).getPantalla())).hacerVisibleDespuesSiguiente(true,posicionActual);
                    break;       
            }
        }
        acceso.insertarRegistro(insertDinamico+cabeceraInsert+medularString+colaIntsert+primerosValores+valoresMedulares+valoresFinales);
    }

    private static Boolean hayInternetDedicado() {
        for (PantallaAplicacion p: pantallasAplicacion){
           if (p.getNroPregunta() == 7)
               return true;
        }
      return false;
    }
    
    private static Boolean hayInternetBandaAncha() {
        for (PantallaAplicacion p: pantallasAplicacion){
           if (p.getNroPregunta() == 6)
               return true;
        }
      return false;
    }

    private static void procesarInsertVelocidadesBandaAncha() {
       if (getP13aa_1() != 0) { 
           valoresMedulares = valoresMedulares +getP13aa_1()+",";
           medularString = medularString+"P13AA_1,";
       }
       if (getP13aa_2() != 0) { 
          valoresMedulares = valoresMedulares +getP13aa_2()+",";
           medularString = medularString+"P13AA_2,";
       }
       if (getP13aa_3() != 0) { 
           valoresMedulares = valoresMedulares +getP13aa_3()+",";
           medularString = medularString+"P13AA_3,";
       }
       if (getP13ab_1() != 0) { 
           valoresMedulares = valoresMedulares +getP13ab_1()+",";
           medularString = medularString+"P13AB_1,";
       }
       if (getP13ab_2() != 0) { 
           valoresMedulares = valoresMedulares +getP13ab_2()+",";
           medularString = medularString+"P13AB_2,";
       }
       if (getP13ab_3() != 0) { 
           valoresMedulares = valoresMedulares +getP13ab_3()+",";
           medularString = medularString+"P13AB_3,";
       }
       if (getP13ac_1() != 0) { 
           valoresMedulares = valoresMedulares +getP13ac_1()+",";
           medularString = medularString+"P13AC_1,";
       }
       if (getP13ac_2() != 0) { 
           valoresMedulares = valoresMedulares +getP13ac_2()+",";
           medularString = medularString+"P13AC_2,";
       }
       if (getP13ac_3() != 0) { 
           valoresMedulares = valoresMedulares +getP13ac_3()+",";
           medularString = medularString+"P13AC_3,";
       }
       if (getP13ad_1() != 0) { 
           valoresMedulares = valoresMedulares +getP13ad_1()+",";
           medularString = medularString+"P13AD_1,";
       }
       if (getP13ad_2() != 0) { 
           valoresMedulares = valoresMedulares +getP13ad_2()+",";
           medularString = medularString+"P13AD_2,";
       }
       if (getP13ad_3() != 0) { 
           valoresMedulares = valoresMedulares +getP13ad_3()+",";
           medularString = medularString+"P13AD_3,";
       }
       if (getP13ae_1() != 0) { 
           valoresMedulares = valoresMedulares +getP13ae_1()+",";
           medularString = medularString+"P13AE_1,";
       }
       if (getP13ae_2() != 0) { 
           valoresMedulares = valoresMedulares +getP13ae_1()+",";
           medularString = medularString+"P13AE_2,";
       }
       if (getP13ae_3() != 0) {
           valoresMedulares = valoresMedulares +getP13ae_1()+",";
           medularString = medularString+"P13AE_3,";
       } 
       
       System.out.println(insertDinamico+cabeceraInsert+medularString+colaIntsert+primerosValores+valoresMedulares+valoresFinales); 
    }
    
    private static void procesarInsertVelocidadesDedicado() {
       
        if (getP13ba_1() != 0) { 
           valoresMedulares = valoresMedulares +getP13ba_1()+",";
           medularString = medularString+"P13BA_1,";
       }
       if (getP13ba_2() != 0) { 
          valoresMedulares = valoresMedulares +getP13ba_2()+",";
           medularString = medularString+"P13BA_2,";
       }
       if (getP13ba_3() != 0) { 
           valoresMedulares = valoresMedulares +getP13ba_3()+",";
           medularString = medularString+"P13BA_3,";
       }
       if (getP13bb_1() != 0) { 
           valoresMedulares = valoresMedulares +getP13bb_1()+",";
           medularString = medularString+"P13BB_1,";
       }
       if (getP13bb_2() != 0) { 
           valoresMedulares = valoresMedulares +getP13bb_2()+",";
           medularString = medularString+"P13BB_2,";
       }
       if (getP13bb_3() != 0) { 
           valoresMedulares = valoresMedulares +getP13bb_3()+",";
           medularString = medularString+"P13BB_3,";
       }
       if (getP13bc_1() != 0) { 
           valoresMedulares = valoresMedulares +getP13bc_1()+",";
           medularString = medularString+"P13BC_1,";
       }
       if (getP13bc_2() != 0) { 
           valoresMedulares = valoresMedulares +getP13bc_2()+",";
           medularString = medularString+"P13BC_2,";
       }
       if (getP13bc_3() != 0) { 
           valoresMedulares = valoresMedulares +getP13bc_3()+",";
           medularString = medularString+"P13BC_3,";
       }
       if (getP13bd_1() != 0) { 
           valoresMedulares = valoresMedulares +getP13bd_1()+",";
           medularString = medularString+"P13BD_1,";
       }
       if (getP13bd_2() != 0) { 
           valoresMedulares = valoresMedulares +getP13bd_2()+",";
           medularString = medularString+"P13BD_2,";
       }
       if (getP13bd_3() != 0) { 
           valoresMedulares = valoresMedulares +getP13bd_3()+",";
           medularString = medularString+"P13BD_3,";
       }
       if (getP13be_1() != 0) { 
           valoresMedulares = valoresMedulares +getP13be_1()+",";
           medularString = medularString+"P13BE_1,";
       }
       if (getP13be_2() != 0) { 
           valoresMedulares = valoresMedulares +getP13be_1()+",";
           medularString = medularString+"P13BE_2,";
       }
       if (getP13be_3() != 0) {
           valoresMedulares = valoresMedulares +getP13be_1()+",";
           medularString = medularString+"P13BE_3,";
       } 
       
       System.out.println(insertDinamico+cabeceraInsert+medularString+colaIntsert+primerosValores+valoresMedulares+valoresFinales); 
    }
    
    public static int obtenerIdEncuestaInsertada(){
       return acceso.obtenerIdEncuestaInsertada("SELECT MAX(id) from spss;");
    }
    
    public static void eliminarEncuestaBD(String id){
        acceso.insertarRegistro("DELETE FROM spss where id = "+id);
    }
}